@oxyhq/services 6.9.15 → 6.9.17

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 (1351) hide show
  1. package/lib/commonjs/assets/icons/OxyServices.js +13 -52
  2. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
  3. package/lib/commonjs/assets/illustrations/HighFive.js +18 -57
  4. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
  5. package/lib/commonjs/index.js +201 -190
  6. package/lib/commonjs/index.js.map +1 -1
  7. package/lib/commonjs/lib/sonner-safe.js.map +0 -1
  8. package/lib/commonjs/lib/sonner.js +5 -16
  9. package/lib/commonjs/lib/sonner.js.map +1 -1
  10. package/lib/commonjs/lib/sonner.native.js +8 -45
  11. package/lib/commonjs/lib/sonner.native.js.map +1 -1
  12. package/lib/commonjs/lib/sonner.web.js +8 -45
  13. package/lib/commonjs/lib/sonner.web.js.map +1 -1
  14. package/lib/commonjs/ui/client.js +66 -88
  15. package/lib/commonjs/ui/client.js.map +1 -1
  16. package/lib/commonjs/ui/components/ActivityIndicator.js +0 -26
  17. package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
  18. package/lib/commonjs/ui/components/Avatar.js +39 -27
  19. package/lib/commonjs/ui/components/Avatar.js.map +0 -1
  20. package/lib/commonjs/ui/components/BottomSheet.js +0 -20
  21. package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
  22. package/lib/commonjs/ui/components/BottomSheetRouter.js +65 -103
  23. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
  24. package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -30
  25. package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
  26. package/lib/commonjs/ui/components/EmptyState.js +10 -13
  27. package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
  28. package/lib/commonjs/ui/components/FollowButton.js +52 -81
  29. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  30. package/lib/commonjs/ui/components/FontLoader.js +17 -52
  31. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  32. package/lib/commonjs/ui/components/GroupedItem.js +27 -29
  33. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  34. package/lib/commonjs/ui/components/GroupedSection.js +10 -11
  35. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
  36. package/lib/commonjs/ui/components/Header.js +0 -34
  37. package/lib/commonjs/ui/components/Header.js.map +0 -1
  38. package/lib/commonjs/ui/components/HelperText.js +0 -26
  39. package/lib/commonjs/ui/components/HelperText.js.map +0 -1
  40. package/lib/commonjs/ui/components/Icon.js +12 -12
  41. package/lib/commonjs/ui/components/Icon.js.map +1 -1
  42. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
  43. package/lib/commonjs/ui/components/IconButton/utils.js +4 -8
  44. package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
  45. package/lib/commonjs/ui/components/LoadingState.js +11 -14
  46. package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
  47. package/lib/commonjs/ui/components/OxyLogo.js +14 -53
  48. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
  49. package/lib/commonjs/ui/components/OxyPayButton.js +17 -19
  50. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
  51. package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
  52. package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
  53. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
  54. package/lib/commonjs/ui/components/ProfileCard.js +31 -35
  55. package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
  56. package/lib/commonjs/ui/components/QuickActions.js +16 -16
  57. package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
  58. package/lib/commonjs/ui/components/Section.js +12 -15
  59. package/lib/commonjs/ui/components/Section.js.map +1 -1
  60. package/lib/commonjs/ui/components/SectionTitle.js +14 -13
  61. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
  62. package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
  63. package/lib/commonjs/ui/components/SignInModal.js +115 -132
  64. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  65. package/lib/commonjs/ui/components/StepBasedScreen.js +71 -85
  66. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  67. package/lib/commonjs/ui/components/Surface.js +37 -79
  68. package/lib/commonjs/ui/components/Surface.js.map +1 -1
  69. package/lib/commonjs/ui/components/TextField/Addons/Underline.js +8 -6
  70. package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
  71. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +29 -74
  72. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
  73. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +23 -27
  74. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
  75. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +27 -31
  76. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
  77. package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
  78. package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
  79. package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
  80. package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
  81. package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
  82. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +21 -23
  83. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
  84. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +10 -37
  85. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -2
  86. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +65 -106
  87. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
  88. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -33
  89. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
  90. package/lib/commonjs/ui/components/TextField/constants.js +25 -35
  91. package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
  92. package/lib/commonjs/ui/components/TextField/helpers.js +43 -44
  93. package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
  94. package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
  95. package/lib/commonjs/ui/components/TextField.js +35 -76
  96. package/lib/commonjs/ui/components/TextField.js.map +1 -1
  97. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
  98. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +30 -64
  99. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  100. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +26 -68
  101. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  102. package/lib/commonjs/ui/components/TouchableRipple/utils.js +6 -10
  103. package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
  104. package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
  105. package/lib/commonjs/ui/components/Typography/types.js +3 -3
  106. package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
  107. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
  108. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
  109. package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
  110. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
  111. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
  112. package/lib/commonjs/ui/components/feedback/index.js +0 -10
  113. package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
  114. package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
  115. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
  116. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
  117. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +14 -13
  118. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  119. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +66 -77
  120. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  121. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +118 -127
  122. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  123. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
  124. package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
  125. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -20
  126. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  127. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
  128. package/lib/commonjs/ui/components/icon/index.js +7 -12
  129. package/lib/commonjs/ui/components/icon/index.js.map +1 -1
  130. package/lib/commonjs/ui/components/index.js +54 -62
  131. package/lib/commonjs/ui/components/index.js.map +1 -1
  132. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +21 -22
  133. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
  134. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +41 -52
  135. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  136. package/lib/commonjs/ui/components/modals/index.js +3 -8
  137. package/lib/commonjs/ui/components/modals/index.js.map +1 -1
  138. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +70 -89
  139. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  140. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  141. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
  142. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  143. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  144. package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
  145. package/lib/commonjs/ui/components/payment/index.js +0 -15
  146. package/lib/commonjs/ui/components/payment/index.js.map +1 -1
  147. package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
  148. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
  149. package/lib/commonjs/ui/components/payment/types.js.map +1 -1
  150. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +27 -59
  151. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  152. package/lib/commonjs/ui/components/styles/overlay.js +6 -4
  153. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
  154. package/lib/commonjs/ui/components/styles/shadow.js +7 -7
  155. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
  156. package/lib/commonjs/ui/components/theming.js +6 -4
  157. package/lib/commonjs/ui/components/theming.js.map +1 -1
  158. package/lib/commonjs/ui/components/types.js.map +1 -1
  159. package/lib/commonjs/ui/components/utils/forwardRef.js +3 -43
  160. package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
  161. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
  162. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
  163. package/lib/commonjs/ui/components/utils/splitStyles.js +7 -1
  164. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
  165. package/lib/commonjs/ui/constants/iconColors.js +16 -12
  166. package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
  167. package/lib/commonjs/ui/constants/spacing.js.map +1 -1
  168. package/lib/commonjs/ui/constants/theme.js +9 -8
  169. package/lib/commonjs/ui/constants/theme.js.map +1 -1
  170. package/lib/commonjs/ui/context/OxyContext.js +0 -1
  171. package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
  172. package/lib/commonjs/ui/context/ThemeContext.js +4 -27
  173. package/lib/commonjs/ui/context/ThemeContext.js.map +1 -2
  174. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -27
  175. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
  176. package/lib/commonjs/ui/hooks/index.js +26 -27
  177. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  178. package/lib/commonjs/ui/hooks/mutations/index.js +22 -31
  179. package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
  180. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  181. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +106 -83
  182. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  183. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +53 -45
  184. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  185. package/lib/commonjs/ui/hooks/queries/index.js +39 -50
  186. package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
  187. package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -6
  188. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  189. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +39 -33
  190. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
  191. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -11
  192. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  193. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +32 -28
  194. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  195. package/lib/commonjs/ui/hooks/queryClient.js +17 -10
  196. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  197. package/lib/commonjs/ui/hooks/useAssets.js +26 -13
  198. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  199. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
  200. package/lib/commonjs/ui/hooks/useAuth.js +21 -24
  201. package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
  202. package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -3
  203. package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
  204. package/lib/commonjs/ui/hooks/useColorScheme.js +8 -6
  205. package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
  206. package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
  207. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
  208. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
  209. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
  210. package/lib/commonjs/ui/hooks/useFileFiltering.js +9 -7
  211. package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
  212. package/lib/commonjs/ui/hooks/useFollow.js +75 -67
  213. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  214. package/lib/commonjs/ui/hooks/useFollow.types.js +0 -5
  215. package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
  216. package/lib/commonjs/ui/hooks/useI18n.js +1 -1
  217. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  218. package/lib/commonjs/ui/hooks/useLanguageManagement.js +17 -16
  219. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
  220. package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
  221. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  222. package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
  223. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
  224. package/lib/commonjs/ui/hooks/useSessionManagement.js +44 -40
  225. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  226. package/lib/commonjs/ui/hooks/useSessionSocket.js +39 -34
  227. package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
  228. package/lib/commonjs/ui/hooks/useSettingToggle.js +22 -16
  229. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
  230. package/lib/commonjs/ui/hooks/useStorage.js +6 -6
  231. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
  232. package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
  233. package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
  234. package/lib/commonjs/ui/hooks/useThemeStyles.js +13 -12
  235. package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
  236. package/lib/commonjs/ui/hooks/useWebSSO.js +19 -11
  237. package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
  238. package/lib/commonjs/ui/index.js +138 -112
  239. package/lib/commonjs/ui/index.js.map +1 -1
  240. package/lib/commonjs/ui/isFrontend.js +2 -2
  241. package/lib/commonjs/ui/isFrontend.js.map +1 -1
  242. package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
  243. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
  244. package/lib/commonjs/ui/navigation/routes.js +12 -6
  245. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  246. package/lib/commonjs/ui/screens/AccountCenterScreen.js +66 -75
  247. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  248. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +133 -164
  249. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
  250. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +133 -150
  251. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  252. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  253. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +44 -83
  254. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  255. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
  256. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -19
  257. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  258. package/lib/commonjs/ui/screens/FAQScreen.js +54 -61
  259. package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
  260. package/lib/commonjs/ui/screens/FeedbackScreen.js +137 -155
  261. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  262. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
  263. package/lib/commonjs/ui/screens/FollowersListScreen.js +6 -9
  264. package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
  265. package/lib/commonjs/ui/screens/FollowingListScreen.js +6 -9
  266. package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
  267. package/lib/commonjs/ui/screens/HelpSupportScreen.js +36 -75
  268. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  269. package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -79
  270. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  271. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +50 -82
  272. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  273. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +31 -35
  274. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  275. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -23
  276. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
  277. package/lib/commonjs/ui/screens/OxyAuthScreen.js +107 -120
  278. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  279. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +69 -63
  280. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  281. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +205 -241
  282. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  283. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +81 -114
  284. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  285. package/lib/commonjs/ui/screens/ProfileScreen.js +102 -128
  286. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  287. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -31
  288. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
  289. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -69
  290. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  291. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
  292. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  293. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  294. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +85 -120
  295. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  296. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  297. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +72 -91
  298. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
  299. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +45 -80
  300. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  301. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  302. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
  303. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
  304. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  305. package/lib/commonjs/ui/server.js +58 -47
  306. package/lib/commonjs/ui/server.js.map +1 -1
  307. package/lib/commonjs/ui/stores/accountStore.js +1 -1
  308. package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
  309. package/lib/commonjs/ui/stores/assetStore.js +16 -13
  310. package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
  311. package/lib/commonjs/ui/stores/authStore.js +6 -5
  312. package/lib/commonjs/ui/stores/authStore.js.map +1 -1
  313. package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
  314. package/lib/commonjs/ui/stores/followStore.js +10 -3
  315. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  316. package/lib/commonjs/ui/styles/authStyles.js +12 -12
  317. package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
  318. package/lib/commonjs/ui/styles/fonts.js +19 -18
  319. package/lib/commonjs/ui/styles/fonts.js.map +1 -1
  320. package/lib/commonjs/ui/styles/index.js.map +0 -1
  321. package/lib/commonjs/ui/styles/spacing.js +0 -11
  322. package/lib/commonjs/ui/styles/spacing.js.map +0 -1
  323. package/lib/commonjs/ui/styles/theme.js +12 -11
  324. package/lib/commonjs/ui/styles/theme.js.map +1 -1
  325. package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
  326. package/lib/commonjs/ui/types/navigation.js.map +1 -1
  327. package/lib/commonjs/ui/utils/avatarUtils.js +16 -11
  328. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  329. package/lib/commonjs/ui/utils/colorUtils.js +0 -17
  330. package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
  331. package/lib/commonjs/ui/utils/confirmAction.js +1 -1
  332. package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
  333. package/lib/commonjs/ui/utils/errorHandlers.js +0 -1
  334. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
  335. package/lib/commonjs/ui/utils/fileManagement.js +38 -22
  336. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  337. package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
  338. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  339. package/lib/commonjs/ui/utils/storageHelpers.js +12 -7
  340. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
  341. package/lib/commonjs/ui/utils/themeUtils.js +0 -15
  342. package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
  343. package/lib/commonjs/ui/utils/userUtils.js +9 -6
  344. package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
  345. package/lib/commonjs/utils/hookUtils.js +79 -60
  346. package/lib/commonjs/utils/hookUtils.js.map +1 -1
  347. package/lib/module/assets/icons/OxyServices.js +0 -12
  348. package/lib/module/assets/icons/OxyServices.js.map +0 -1
  349. package/lib/module/assets/illustrations/HighFive.js +0 -15
  350. package/lib/module/assets/illustrations/HighFive.js.map +0 -1
  351. package/lib/module/index.js +35 -406
  352. package/lib/module/index.js.map +1 -1
  353. package/lib/module/lib/sonner-safe.js +8 -7
  354. package/lib/module/lib/sonner-safe.js.map +1 -1
  355. package/lib/module/lib/sonner.js +1 -17
  356. package/lib/module/lib/sonner.js.map +1 -1
  357. package/lib/module/lib/sonner.native.js +0 -45
  358. package/lib/module/lib/sonner.native.js.map +1 -1
  359. package/lib/module/lib/sonner.web.js +6 -48
  360. package/lib/module/lib/sonner.web.js.map +1 -1
  361. package/lib/module/ui/client.js +25 -165
  362. package/lib/module/ui/client.js.map +1 -1
  363. package/lib/module/ui/components/ActivityIndicator.js +27 -69
  364. package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
  365. package/lib/module/ui/components/AutoHeightScrollView.js +9 -13
  366. package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
  367. package/lib/module/ui/components/Avatar.js +0 -8
  368. package/lib/module/ui/components/Avatar.js.map +1 -1
  369. package/lib/module/ui/components/BottomSheet.js +0 -99
  370. package/lib/module/ui/components/BottomSheet.js.map +0 -1
  371. package/lib/module/ui/components/BottomSheetRouter.js +61 -105
  372. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  373. package/lib/module/ui/components/CrossFadeIcon.js +16 -60
  374. package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
  375. package/lib/module/ui/components/EmptyState.js +7 -15
  376. package/lib/module/ui/components/EmptyState.js.map +1 -1
  377. package/lib/module/ui/components/FollowButton.js +50 -84
  378. package/lib/module/ui/components/FollowButton.js.map +0 -1
  379. package/lib/module/ui/components/FontLoader.js +17 -57
  380. package/lib/module/ui/components/FontLoader.js.map +1 -1
  381. package/lib/module/ui/components/GroupedItem.js +27 -31
  382. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  383. package/lib/module/ui/components/GroupedSection.js +9 -13
  384. package/lib/module/ui/components/GroupedSection.js.map +1 -1
  385. package/lib/module/ui/components/Header.js +57 -102
  386. package/lib/module/ui/components/Header.js.map +1 -1
  387. package/lib/module/ui/components/HelperText.js +13 -55
  388. package/lib/module/ui/components/HelperText.js.map +1 -1
  389. package/lib/module/ui/components/Icon.js +13 -19
  390. package/lib/module/ui/components/Icon.js.map +0 -1
  391. package/lib/module/ui/components/IconButton/IconButton.js +24 -31
  392. package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
  393. package/lib/module/ui/components/IconButton/utils.js +4 -14
  394. package/lib/module/ui/components/IconButton/utils.js.map +1 -1
  395. package/lib/module/ui/components/LoadingState.js +0 -12
  396. package/lib/module/ui/components/LoadingState.js.map +0 -1
  397. package/lib/module/ui/components/OxyLogo.js +0 -13
  398. package/lib/module/ui/components/OxyLogo.js.map +1 -1
  399. package/lib/module/ui/components/OxyPayButton.js +0 -14
  400. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  401. package/lib/module/ui/components/OxyProvider.js +48 -39
  402. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  403. package/lib/module/ui/components/OxySignInButton.js +37 -42
  404. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  405. package/lib/module/ui/components/ProfileCard.js +29 -37
  406. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  407. package/lib/module/ui/components/QuickActions.js +15 -18
  408. package/lib/module/ui/components/QuickActions.js.map +1 -1
  409. package/lib/module/ui/components/Section.js +0 -16
  410. package/lib/module/ui/components/Section.js.map +1 -1
  411. package/lib/module/ui/components/SectionTitle.js +12 -15
  412. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  413. package/lib/module/ui/components/SettingRow.js +0 -17
  414. package/lib/module/ui/components/SettingRow.js.map +1 -1
  415. package/lib/module/ui/components/SignInModal.js +115 -142
  416. package/lib/module/ui/components/SignInModal.js.map +1 -1
  417. package/lib/module/ui/components/StepBasedScreen.js +0 -43
  418. package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
  419. package/lib/module/ui/components/Surface.js +34 -82
  420. package/lib/module/ui/components/Surface.js.map +1 -1
  421. package/lib/module/ui/components/TextField/Addons/Outline.js +0 -8
  422. package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
  423. package/lib/module/ui/components/TextField/Addons/Underline.js +8 -12
  424. package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
  425. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -62
  426. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
  427. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -15
  428. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
  429. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +28 -33
  430. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
  431. package/lib/module/ui/components/TextField/Adornment/enums.js +9 -13
  432. package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
  433. package/lib/module/ui/components/TextField/Adornment/types.js +0 -3
  434. package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
  435. package/lib/module/ui/components/TextField/Adornment/utils.js +2 -7
  436. package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
  437. package/lib/module/ui/components/TextField/Label/InputLabel.js +18 -25
  438. package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
  439. package/lib/module/ui/components/TextField/TextFieldFlat.js +63 -109
  440. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
  441. package/lib/module/ui/components/TextField/TextFieldOutlined.js +61 -109
  442. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
  443. package/lib/module/ui/components/TextField/constants.js +0 -23
  444. package/lib/module/ui/components/TextField/constants.js.map +0 -1
  445. package/lib/module/ui/components/TextField/helpers.js +50 -69
  446. package/lib/module/ui/components/TextField/helpers.js.map +1 -1
  447. package/lib/module/ui/components/TextField/types.js +1 -3
  448. package/lib/module/ui/components/TextField/types.js.map +1 -1
  449. package/lib/module/ui/components/TextField.js +0 -64
  450. package/lib/module/ui/components/TextField.js.map +0 -1
  451. package/lib/module/ui/components/TouchableRipple/Pressable.js +6 -7
  452. package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
  453. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +28 -67
  454. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  455. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -47
  456. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  457. package/lib/module/ui/components/TouchableRipple/utils.js +6 -16
  458. package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
  459. package/lib/module/ui/components/Typography/AnimatedText.js +0 -8
  460. package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
  461. package/lib/module/ui/components/Typography/types.js +3 -7
  462. package/lib/module/ui/components/Typography/types.js.map +1 -1
  463. package/lib/module/ui/components/feedback/FormInput.js +12 -20
  464. package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
  465. package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -10
  466. package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
  467. package/lib/module/ui/components/feedback/constants.js +3 -7
  468. package/lib/module/ui/components/feedback/constants.js.map +1 -1
  469. package/lib/module/ui/components/feedback/feedbackStyles.js +10 -15
  470. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
  471. package/lib/module/ui/components/feedback/index.js +5 -56
  472. package/lib/module/ui/components/feedback/index.js.map +1 -1
  473. package/lib/module/ui/components/feedback/types.js +0 -3
  474. package/lib/module/ui/components/feedback/types.js.map +0 -1
  475. package/lib/module/ui/components/feedback/useFeedbackForm.js +6 -11
  476. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
  477. package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -10
  478. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
  479. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +67 -72
  480. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  481. package/lib/module/ui/components/fileManagement/FileViewer.js +0 -38
  482. package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
  483. package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -27
  484. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  485. package/lib/module/ui/components/fileManagement/styles.js +20 -24
  486. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  487. package/lib/module/ui/components/icon/FAIRWalletIcon.js +14 -58
  488. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
  489. package/lib/module/ui/components/icon/OxyIcon.js +0 -5
  490. package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
  491. package/lib/module/ui/components/icon/index.js +2 -23
  492. package/lib/module/ui/components/icon/index.js.map +1 -1
  493. package/lib/module/ui/components/index.js +0 -111
  494. package/lib/module/ui/components/index.js.map +1 -1
  495. package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -11
  496. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
  497. package/lib/module/ui/components/internal/PinInput.js +12 -15
  498. package/lib/module/ui/components/internal/PinInput.js.map +1 -1
  499. package/lib/module/ui/components/modals/DeleteAccountModal.js +40 -48
  500. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  501. package/lib/module/ui/components/modals/index.js +1 -16
  502. package/lib/module/ui/components/modals/index.js.map +1 -1
  503. package/lib/module/ui/components/payment/PaymentDetailsStep.js +69 -77
  504. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  505. package/lib/module/ui/components/payment/PaymentMethodStep.js +17 -25
  506. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  507. package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -13
  508. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
  509. package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -18
  510. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
  511. package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -29
  512. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
  513. package/lib/module/ui/components/payment/constants.js +0 -7
  514. package/lib/module/ui/components/payment/constants.js.map +0 -1
  515. package/lib/module/ui/components/payment/index.js +0 -73
  516. package/lib/module/ui/components/payment/index.js.map +1 -1
  517. package/lib/module/ui/components/payment/paymentStyles.js +0 -9
  518. package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
  519. package/lib/module/ui/components/payment/types.js +1 -3
  520. package/lib/module/ui/components/payment/types.js.map +1 -1
  521. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +25 -62
  522. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
  523. package/lib/module/ui/components/styles/overlay.js +0 -13
  524. package/lib/module/ui/components/styles/overlay.js.map +1 -1
  525. package/lib/module/ui/components/styles/shadow.js +8 -12
  526. package/lib/module/ui/components/styles/shadow.js.map +1 -1
  527. package/lib/module/ui/components/theming.js +6 -9
  528. package/lib/module/ui/components/theming.js.map +1 -1
  529. package/lib/module/ui/components/types.js +1 -3
  530. package/lib/module/ui/components/types.js.map +1 -1
  531. package/lib/module/ui/components/utils/forwardRef.js +0 -40
  532. package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
  533. package/lib/module/ui/components/utils/hasTouchHandler.js +1 -5
  534. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
  535. package/lib/module/ui/components/utils/roundLayoutSize.js +1 -6
  536. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
  537. package/lib/module/ui/components/utils/splitStyles.js +7 -5
  538. package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
  539. package/lib/module/ui/constants/iconColors.js +14 -16
  540. package/lib/module/ui/constants/iconColors.js.map +1 -1
  541. package/lib/module/ui/constants/spacing.js +25 -24
  542. package/lib/module/ui/constants/spacing.js.map +1 -1
  543. package/lib/module/ui/constants/theme.js +4 -7
  544. package/lib/module/ui/constants/theme.js.map +1 -1
  545. package/lib/module/ui/context/OxyContext.js +0 -17
  546. package/lib/module/ui/context/OxyContext.js.map +0 -1
  547. package/lib/module/ui/context/ThemeContext.js +7 -13
  548. package/lib/module/ui/context/ThemeContext.js.map +1 -1
  549. package/lib/module/ui/context/hooks/useAuthOperations.js +39 -68
  550. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  551. package/lib/module/ui/hooks/index.js +0 -64
  552. package/lib/module/ui/hooks/index.js.map +0 -1
  553. package/lib/module/ui/hooks/mutations/index.js +5 -67
  554. package/lib/module/ui/hooks/mutations/index.js.map +1 -1
  555. package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -7
  556. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
  557. package/lib/module/ui/hooks/mutations/useAccountMutations.js +109 -92
  558. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  559. package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
  560. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  561. package/lib/module/ui/hooks/queries/index.js +0 -114
  562. package/lib/module/ui/hooks/queries/index.js.map +0 -1
  563. package/lib/module/ui/hooks/queries/queryKeys.js +36 -39
  564. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  565. package/lib/module/ui/hooks/queries/useAccountQueries.js +40 -44
  566. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  567. package/lib/module/ui/hooks/queries/useSecurityQueries.js +12 -17
  568. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
  569. package/lib/module/ui/hooks/queries/useServicesQueries.js +33 -37
  570. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  571. package/lib/module/ui/hooks/queryClient.js +17 -17
  572. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  573. package/lib/module/ui/hooks/useAssets.js +26 -19
  574. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  575. package/lib/module/ui/hooks/useAsyncAction.js +16 -20
  576. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
  577. package/lib/module/ui/hooks/useAuth.js +18 -25
  578. package/lib/module/ui/hooks/useAuth.js.map +1 -1
  579. package/lib/module/ui/hooks/useAvatarPicker.js +13 -16
  580. package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
  581. package/lib/module/ui/hooks/useColorScheme.js +0 -3
  582. package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
  583. package/lib/module/ui/hooks/useDeviceManagement.js +11 -16
  584. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
  585. package/lib/module/ui/hooks/useFileDownloadUrl.js +9 -15
  586. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
  587. package/lib/module/ui/hooks/useFileFiltering.js +0 -9
  588. package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
  589. package/lib/module/ui/hooks/useFollow.js +77 -75
  590. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  591. package/lib/module/ui/hooks/useFollow.types.js +0 -6
  592. package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
  593. package/lib/module/ui/hooks/useI18n.js +0 -7
  594. package/lib/module/ui/hooks/useI18n.js.map +0 -1
  595. package/lib/module/ui/hooks/useLanguageManagement.js +18 -22
  596. package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
  597. package/lib/module/ui/hooks/useProfileEditing.js +0 -9
  598. package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
  599. package/lib/module/ui/hooks/useQueryClient.js +0 -5
  600. package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
  601. package/lib/module/ui/hooks/useSessionManagement.js +45 -46
  602. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  603. package/lib/module/ui/hooks/useSessionSocket.js +0 -15
  604. package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
  605. package/lib/module/ui/hooks/useSettingToggle.js +0 -14
  606. package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
  607. package/lib/module/ui/hooks/useStorage.js +7 -12
  608. package/lib/module/ui/hooks/useStorage.js.map +0 -1
  609. package/lib/module/ui/hooks/useThemeColors.js +10 -14
  610. package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
  611. package/lib/module/ui/hooks/useThemeStyles.js +14 -18
  612. package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
  613. package/lib/module/ui/hooks/useWebSSO.js +16 -12
  614. package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
  615. package/lib/module/ui/index.js +37 -117
  616. package/lib/module/ui/index.js.map +1 -1
  617. package/lib/module/ui/isFrontend.js +1 -4
  618. package/lib/module/ui/isFrontend.js.map +1 -1
  619. package/lib/module/ui/navigation/bottomSheetManager.js +0 -17
  620. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
  621. package/lib/module/ui/navigation/routes.js +14 -8
  622. package/lib/module/ui/navigation/routes.js.map +1 -1
  623. package/lib/module/ui/screens/AccountCenterScreen.js +65 -71
  624. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  625. package/lib/module/ui/screens/AccountOverviewScreen.js +131 -167
  626. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  627. package/lib/module/ui/screens/AccountSettingsScreen.js +0 -88
  628. package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
  629. package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -88
  630. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
  631. package/lib/module/ui/screens/AccountVerificationScreen.js +42 -86
  632. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  633. package/lib/module/ui/screens/AppInfoScreen.js +76 -79
  634. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  635. package/lib/module/ui/screens/EditProfileFieldScreen.js +89 -114
  636. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  637. package/lib/module/ui/screens/FAQScreen.js +0 -38
  638. package/lib/module/ui/screens/FAQScreen.js.map +0 -1
  639. package/lib/module/ui/screens/FeedbackScreen.js +0 -58
  640. package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
  641. package/lib/module/ui/screens/FileManagementScreen.js +0 -149
  642. package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
  643. package/lib/module/ui/screens/FollowersListScreen.js +0 -8
  644. package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
  645. package/lib/module/ui/screens/FollowingListScreen.js +4 -12
  646. package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
  647. package/lib/module/ui/screens/HelpSupportScreen.js +0 -45
  648. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  649. package/lib/module/ui/screens/HistoryViewScreen.js +41 -81
  650. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  651. package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -71
  652. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
  653. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +31 -33
  654. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  655. package/lib/module/ui/screens/LegalDocumentsScreen.js +35 -72
  656. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  657. package/lib/module/ui/screens/OxyAuthScreen.js +0 -50
  658. package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
  659. package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -28
  660. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
  661. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +205 -186
  662. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  663. package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -56
  664. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
  665. package/lib/module/ui/screens/ProfileScreen.js +101 -102
  666. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  667. package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -55
  668. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
  669. package/lib/module/ui/screens/SearchSettingsScreen.js +0 -39
  670. package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
  671. package/lib/module/ui/screens/SessionManagementScreen.js +89 -81
  672. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  673. package/lib/module/ui/screens/UserLinksScreen.js +18 -21
  674. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  675. package/lib/module/ui/screens/UserListScreen.js +0 -69
  676. package/lib/module/ui/screens/UserListScreen.js.map +0 -1
  677. package/lib/module/ui/screens/WelcomeNewUserScreen.js +82 -123
  678. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  679. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +26 -29
  680. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  681. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +72 -74
  682. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  683. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +43 -83
  684. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  685. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -30
  686. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  687. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +80 -81
  688. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  689. package/lib/module/ui/server.js +29 -50
  690. package/lib/module/ui/server.js.map +1 -1
  691. package/lib/module/ui/stores/accountStore.js +0 -7
  692. package/lib/module/ui/stores/accountStore.js.map +0 -1
  693. package/lib/module/ui/stores/assetStore.js +14 -24
  694. package/lib/module/ui/stores/assetStore.js.map +1 -1
  695. package/lib/module/ui/stores/authStore.js +5 -8
  696. package/lib/module/ui/stores/authStore.js.map +1 -1
  697. package/lib/module/ui/stores/fileStore.js +0 -6
  698. package/lib/module/ui/stores/fileStore.js.map +0 -1
  699. package/lib/module/ui/stores/followStore.js +9 -6
  700. package/lib/module/ui/stores/followStore.js.map +1 -1
  701. package/lib/module/ui/styles/authStyles.js +12 -17
  702. package/lib/module/ui/styles/authStyles.js.map +1 -1
  703. package/lib/module/ui/styles/fonts.js +0 -8
  704. package/lib/module/ui/styles/fonts.js.map +0 -1
  705. package/lib/module/ui/styles/index.js +4 -26
  706. package/lib/module/ui/styles/index.js.map +1 -1
  707. package/lib/module/ui/styles/spacing.js +0 -54
  708. package/lib/module/ui/styles/spacing.js.map +1 -1
  709. package/lib/module/ui/styles/theme.js +13 -19
  710. package/lib/module/ui/styles/theme.js.map +1 -1
  711. package/lib/module/ui/types/fileManagement.js +1 -3
  712. package/lib/module/ui/types/fileManagement.js.map +0 -1
  713. package/lib/module/ui/types/navigation.js +1 -3
  714. package/lib/module/ui/types/navigation.js.map +1 -1
  715. package/lib/module/ui/utils/avatarUtils.js +0 -5
  716. package/lib/module/ui/utils/avatarUtils.js.map +0 -1
  717. package/lib/module/ui/utils/colorUtils.js +0 -44
  718. package/lib/module/ui/utils/colorUtils.js.map +0 -1
  719. package/lib/module/ui/utils/confirmAction.js +0 -7
  720. package/lib/module/ui/utils/confirmAction.js.map +1 -1
  721. package/lib/module/ui/utils/errorHandlers.js +18 -16
  722. package/lib/module/ui/utils/errorHandlers.js.map +1 -1
  723. package/lib/module/ui/utils/fileManagement.js +0 -6
  724. package/lib/module/ui/utils/fileManagement.js.map +0 -1
  725. package/lib/module/ui/utils/iconNames.js +20 -24
  726. package/lib/module/ui/utils/iconNames.js.map +1 -1
  727. package/lib/module/ui/utils/sessionHelpers.js +15 -17
  728. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  729. package/lib/module/ui/utils/storageHelpers.js +10 -12
  730. package/lib/module/ui/utils/storageHelpers.js.map +1 -1
  731. package/lib/module/ui/utils/themeUtils.js +2 -35
  732. package/lib/module/ui/utils/themeUtils.js.map +0 -1
  733. package/lib/module/ui/utils/userUtils.js +6 -10
  734. package/lib/module/ui/utils/userUtils.js.map +1 -1
  735. package/lib/module/utils/hookUtils.js +83 -82
  736. package/lib/module/utils/hookUtils.js.map +1 -1
  737. package/lib/typescript/commonjs/index.d.ts +2 -1
  738. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  739. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
  740. package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
  741. package/lib/typescript/commonjs/ui/index.d.ts +28 -21
  742. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
  743. package/lib/typescript/module/index.d.ts +2 -1
  744. package/lib/typescript/module/index.d.ts.map +1 -1
  745. package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
  746. package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
  747. package/lib/typescript/module/ui/index.d.ts +28 -21
  748. package/lib/typescript/module/ui/index.d.ts.map +1 -1
  749. package/package.json +1 -1
  750. package/src/index.ts +2 -1
  751. package/src/ui/hooks/useAuth.ts +0 -2
  752. package/src/ui/index.ts +33 -104
  753. package/lib/commonjs/assets/assets/icons/OxyServices.d.ts +0 -28
  754. package/lib/commonjs/assets/assets/icons/OxyServices.js +0 -53
  755. package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +0 -7
  756. package/lib/commonjs/assets/assets/illustrations/HighFive.js +0 -41
  757. package/lib/module/assets/assets/icons/OxyServices.d.ts +0 -28
  758. package/lib/module/assets/assets/icons/OxyServices.js +0 -53
  759. package/lib/module/assets/assets/illustrations/HighFive.d.ts +0 -7
  760. package/lib/module/assets/assets/illustrations/HighFive.js +0 -41
  761. package/lib/typescript/assets/icons/OxyServices.d.ts +0 -28
  762. package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -7
  763. package/lib/typescript/index.d.ts +0 -46
  764. package/lib/typescript/lib/sonner-safe.d.ts +0 -8
  765. package/lib/typescript/lib/sonner.d.ts +0 -11
  766. package/lib/typescript/lib/sonner.native.d.ts +0 -14
  767. package/lib/typescript/lib/sonner.web.d.ts +0 -14
  768. package/lib/typescript/ui/client.d.ts +0 -30
  769. package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -44
  770. package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -22
  771. package/lib/typescript/ui/components/Avatar.d.ts +0 -60
  772. package/lib/typescript/ui/components/BottomSheet.d.ts +0 -28
  773. package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -8
  774. package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -26
  775. package/lib/typescript/ui/components/EmptyState.d.ts +0 -7
  776. package/lib/typescript/ui/components/FollowButton.d.ts +0 -28
  777. package/lib/typescript/ui/components/FontLoader.d.ts +0 -14
  778. package/lib/typescript/ui/components/GroupedItem.d.ts +0 -23
  779. package/lib/typescript/ui/components/GroupedSection.d.ts +0 -29
  780. package/lib/typescript/ui/components/Header.d.ts +0 -37
  781. package/lib/typescript/ui/components/HelperText.d.ts +0 -46
  782. package/lib/typescript/ui/components/Icon.d.ts +0 -59
  783. package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -98
  784. package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -18
  785. package/lib/typescript/ui/components/LoadingState.d.ts +0 -8
  786. package/lib/typescript/ui/components/OxyLogo.d.ts +0 -28
  787. package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -28
  788. package/lib/typescript/ui/components/OxyProvider.d.ts +0 -37
  789. package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -64
  790. package/lib/typescript/ui/components/ProfileCard.d.ts +0 -17
  791. package/lib/typescript/ui/components/QuickActions.d.ts +0 -14
  792. package/lib/typescript/ui/components/Section.d.ts +0 -11
  793. package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
  794. package/lib/typescript/ui/components/SettingRow.d.ts +0 -19
  795. package/lib/typescript/ui/components/SignInModal.d.ts +0 -17
  796. package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -25
  797. package/lib/typescript/ui/components/Surface.d.ts +0 -75
  798. package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -15
  799. package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -18
  800. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
  801. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
  802. package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
  803. package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -12
  804. package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -11
  805. package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -11
  806. package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -4
  807. package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
  808. package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -3
  809. package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
  810. package/lib/typescript/ui/components/TextField/constants.d.ts +0 -31
  811. package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -96
  812. package/lib/typescript/ui/components/TextField/types.d.ts +0 -155
  813. package/lib/typescript/ui/components/TextField.d.ts +0 -191
  814. package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -12
  815. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
  816. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
  817. package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -10
  818. package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -34
  819. package/lib/typescript/ui/components/Typography/types.d.ts +0 -18
  820. package/lib/typescript/ui/components/feedback/FormInput.d.ts +0 -19
  821. package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +0 -10
  822. package/lib/typescript/ui/components/feedback/constants.d.ts +0 -4
  823. package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +0 -279
  824. package/lib/typescript/ui/components/feedback/index.d.ts +0 -6
  825. package/lib/typescript/ui/components/feedback/types.d.ts +0 -45
  826. package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +0 -8
  827. package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
  828. package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
  829. package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -17
  830. package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -20
  831. package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -859
  832. package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
  833. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -9
  834. package/lib/typescript/ui/components/icon/index.d.ts +0 -3
  835. package/lib/typescript/ui/components/index.d.ts +0 -16
  836. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -23
  837. package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -22
  838. package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +0 -18
  839. package/lib/typescript/ui/components/modals/index.d.ts +0 -1
  840. package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
  841. package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +0 -13
  842. package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +0 -15
  843. package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
  844. package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
  845. package/lib/typescript/ui/components/payment/constants.d.ts +0 -6
  846. package/lib/typescript/ui/components/payment/index.d.ts +0 -8
  847. package/lib/typescript/ui/components/payment/paymentStyles.d.ts +0 -395
  848. package/lib/typescript/ui/components/payment/types.d.ts +0 -39
  849. package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
  850. package/lib/typescript/ui/components/styles/overlay.d.ts +0 -3
  851. package/lib/typescript/ui/components/styles/shadow.d.ts +0 -2
  852. package/lib/typescript/ui/components/theming.d.ts +0 -7
  853. package/lib/typescript/ui/components/types.d.ts +0 -80
  854. package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -11
  855. package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -5
  856. package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -1
  857. package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -19
  858. package/lib/typescript/ui/constants/iconColors.d.ts +0 -129
  859. package/lib/typescript/ui/constants/spacing.d.ts +0 -32
  860. package/lib/typescript/ui/constants/theme.d.ts +0 -96
  861. package/lib/typescript/ui/context/OxyContext.d.ts +0 -75
  862. package/lib/typescript/ui/context/ThemeContext.d.ts +0 -18
  863. package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -39
  864. package/lib/typescript/ui/hooks/index.d.ts +0 -6
  865. package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -8
  866. package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +0 -75
  867. package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
  868. package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
  869. package/lib/typescript/ui/hooks/queries/index.d.ts +0 -10
  870. package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -64
  871. package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -42
  872. package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
  873. package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -30
  874. package/lib/typescript/ui/hooks/queryClient.d.ts +0 -18
  875. package/lib/typescript/ui/hooks/useAssets.d.ts +0 -34
  876. package/lib/typescript/ui/hooks/useAsyncAction.d.ts +0 -50
  877. package/lib/typescript/ui/hooks/useAuth.d.ts +0 -77
  878. package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +0 -24
  879. package/lib/typescript/ui/hooks/useColorScheme.d.ts +0 -7
  880. package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -26
  881. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -21
  882. package/lib/typescript/ui/hooks/useFileFiltering.d.ts +0 -28
  883. package/lib/typescript/ui/hooks/useFollow.d.ts +0 -92
  884. package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -32
  885. package/lib/typescript/ui/hooks/useI18n.d.ts +0 -4
  886. package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -24
  887. package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -35
  888. package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -6
  889. package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -40
  890. package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -14
  891. package/lib/typescript/ui/hooks/useSettingToggle.d.ts +0 -56
  892. package/lib/typescript/ui/hooks/useStorage.d.ts +0 -15
  893. package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -93
  894. package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -44
  895. package/lib/typescript/ui/hooks/useWebSSO.d.ts +0 -57
  896. package/lib/typescript/ui/index.d.ts +0 -23
  897. package/lib/typescript/ui/isFrontend.d.ts +0 -2
  898. package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -26
  899. package/lib/typescript/ui/navigation/routes.d.ts +0 -5
  900. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -4
  901. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -4
  902. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -7
  903. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -4
  904. package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -4
  905. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -4
  906. package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +0 -12
  907. package/lib/typescript/ui/screens/FAQScreen.d.ts +0 -4
  908. package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -4
  909. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -4
  910. package/lib/typescript/ui/screens/FollowersListScreen.d.ts +0 -8
  911. package/lib/typescript/ui/screens/FollowingListScreen.d.ts +0 -8
  912. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -4
  913. package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -4
  914. package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -6
  915. package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
  916. package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -4
  917. package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -16
  918. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -14
  919. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
  920. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -4
  921. package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -8
  922. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -4
  923. package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -4
  924. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -4
  925. package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -14
  926. package/lib/typescript/ui/screens/UserListScreen.d.ts +0 -10
  927. package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
  928. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
  929. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
  930. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
  931. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
  932. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
  933. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
  934. package/lib/typescript/ui/server.d.ts +0 -40
  935. package/lib/typescript/ui/stores/accountStore.d.ts +0 -26
  936. package/lib/typescript/ui/stores/assetStore.d.ts +0 -53
  937. package/lib/typescript/ui/stores/authStore.d.ts +0 -16
  938. package/lib/typescript/ui/stores/fileStore.d.ts +0 -30
  939. package/lib/typescript/ui/stores/followStore.d.ts +0 -24
  940. package/lib/typescript/ui/styles/authStyles.d.ts +0 -331
  941. package/lib/typescript/ui/styles/fonts.d.ts +0 -20
  942. package/lib/typescript/ui/styles/index.d.ts +0 -4
  943. package/lib/typescript/ui/styles/spacing.d.ts +0 -48
  944. package/lib/typescript/ui/styles/theme.d.ts +0 -67
  945. package/lib/typescript/ui/types/fileManagement.d.ts +0 -40
  946. package/lib/typescript/ui/types/navigation.d.ts +0 -36
  947. package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -22
  948. package/lib/typescript/ui/utils/colorUtils.d.ts +0 -9
  949. package/lib/typescript/ui/utils/confirmAction.d.ts +0 -6
  950. package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -34
  951. package/lib/typescript/ui/utils/fileManagement.d.ts +0 -86
  952. package/lib/typescript/ui/utils/iconNames.d.ts +0 -111
  953. package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -64
  954. package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -27
  955. package/lib/typescript/ui/utils/themeUtils.d.ts +0 -10
  956. package/lib/typescript/ui/utils/userUtils.d.ts +0 -28
  957. package/lib/typescript/utils/hookUtils.d.ts +0 -101
  958. package/src/assets/icons/OxyServices.d.ts +0 -28
  959. package/src/assets/icons/OxyServices.js +0 -53
  960. package/src/assets/illustrations/HighFive.d.ts +0 -7
  961. package/src/assets/illustrations/HighFive.js +0 -41
  962. package/src/index.d.ts +0 -46
  963. package/src/index.js +0 -127
  964. package/src/lib/sonner-safe.d.ts +0 -8
  965. package/src/lib/sonner-safe.js +0 -28
  966. package/src/lib/sonner.d.ts +0 -11
  967. package/src/lib/sonner.js +0 -16
  968. package/src/lib/sonner.native.d.ts +0 -14
  969. package/src/lib/sonner.native.js +0 -46
  970. package/src/lib/sonner.web.d.ts +0 -14
  971. package/src/lib/sonner.web.js +0 -46
  972. package/src/ui/client.d.ts +0 -30
  973. package/src/ui/client.js +0 -64
  974. package/src/ui/components/ActivityIndicator.d.ts +0 -44
  975. package/src/ui/components/ActivityIndicator.js +0 -184
  976. package/src/ui/components/AutoHeightScrollView.d.ts +0 -22
  977. package/src/ui/components/AutoHeightScrollView.js +0 -33
  978. package/src/ui/components/Avatar.d.ts +0 -60
  979. package/src/ui/components/Avatar.js +0 -146
  980. package/src/ui/components/BottomSheet.d.ts +0 -28
  981. package/src/ui/components/BottomSheet.js +0 -374
  982. package/src/ui/components/BottomSheetRouter.d.ts +0 -8
  983. package/src/ui/components/BottomSheetRouter.js +0 -211
  984. package/src/ui/components/CrossFadeIcon.d.ts +0 -26
  985. package/src/ui/components/CrossFadeIcon.js +0 -111
  986. package/src/ui/components/EmptyState.d.ts +0 -7
  987. package/src/ui/components/EmptyState.js +0 -27
  988. package/src/ui/components/FollowButton.d.ts +0 -28
  989. package/src/ui/components/FollowButton.js +0 -197
  990. package/src/ui/components/FontLoader.d.ts +0 -14
  991. package/src/ui/components/FontLoader.js +0 -185
  992. package/src/ui/components/GroupedItem.d.ts +0 -23
  993. package/src/ui/components/GroupedItem.js +0 -84
  994. package/src/ui/components/GroupedSection.d.ts +0 -29
  995. package/src/ui/components/GroupedSection.js +0 -13
  996. package/src/ui/components/Header.d.ts +0 -37
  997. package/src/ui/components/Header.js +0 -400
  998. package/src/ui/components/HelperText.d.ts +0 -46
  999. package/src/ui/components/HelperText.js +0 -119
  1000. package/src/ui/components/Icon.d.ts +0 -59
  1001. package/src/ui/components/Icon.js +0 -108
  1002. package/src/ui/components/IconButton/IconButton.d.ts +0 -98
  1003. package/src/ui/components/IconButton/IconButton.js +0 -90
  1004. package/src/ui/components/IconButton/utils.d.ts +0 -18
  1005. package/src/ui/components/IconButton/utils.js +0 -119
  1006. package/src/ui/components/LoadingState.d.ts +0 -8
  1007. package/src/ui/components/LoadingState.js +0 -29
  1008. package/src/ui/components/OxyLogo.d.ts +0 -28
  1009. package/src/ui/components/OxyLogo.js +0 -53
  1010. package/src/ui/components/OxyPayButton.d.ts +0 -28
  1011. package/src/ui/components/OxyPayButton.js +0 -76
  1012. package/src/ui/components/OxyProvider.d.ts +0 -37
  1013. package/src/ui/components/OxyProvider.js +0 -197
  1014. package/src/ui/components/OxySignInButton.d.ts +0 -64
  1015. package/src/ui/components/OxySignInButton.js +0 -145
  1016. package/src/ui/components/ProfileCard.d.ts +0 -17
  1017. package/src/ui/components/ProfileCard.js +0 -82
  1018. package/src/ui/components/QuickActions.d.ts +0 -14
  1019. package/src/ui/components/QuickActions.js +0 -62
  1020. package/src/ui/components/Section.d.ts +0 -11
  1021. package/src/ui/components/Section.js +0 -24
  1022. package/src/ui/components/SectionTitle.d.ts +0 -9
  1023. package/src/ui/components/SectionTitle.js +0 -21
  1024. package/src/ui/components/SettingRow.d.ts +0 -19
  1025. package/src/ui/components/SettingRow.js +0 -38
  1026. package/src/ui/components/SignInModal.d.ts +0 -17
  1027. package/src/ui/components/SignInModal.js +0 -428
  1028. package/src/ui/components/StepBasedScreen.d.ts +0 -25
  1029. package/src/ui/components/StepBasedScreen.js +0 -372
  1030. package/src/ui/components/Surface.d.ts +0 -75
  1031. package/src/ui/components/Surface.js +0 -239
  1032. package/src/ui/components/TextField/Addons/Outline.d.ts +0 -15
  1033. package/src/ui/components/TextField/Addons/Outline.js +0 -30
  1034. package/src/ui/components/TextField/Addons/Underline.d.ts +0 -18
  1035. package/src/ui/components/TextField/Addons/Underline.js +0 -45
  1036. package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
  1037. package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -132
  1038. package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
  1039. package/src/ui/components/TextField/Adornment/TextFieldAffix.js +0 -88
  1040. package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
  1041. package/src/ui/components/TextField/Adornment/TextFieldIcon.js +0 -91
  1042. package/src/ui/components/TextField/Adornment/enums.d.ts +0 -12
  1043. package/src/ui/components/TextField/Adornment/enums.js +0 -18
  1044. package/src/ui/components/TextField/Adornment/types.d.ts +0 -11
  1045. package/src/ui/components/TextField/Adornment/types.js +0 -2
  1046. package/src/ui/components/TextField/Adornment/utils.d.ts +0 -11
  1047. package/src/ui/components/TextField/Adornment/utils.js +0 -50
  1048. package/src/ui/components/TextField/Label/InputLabel.d.ts +0 -4
  1049. package/src/ui/components/TextField/Label/InputLabel.js +0 -125
  1050. package/src/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
  1051. package/src/ui/components/TextField/Label/LabelBackground.js +0 -71
  1052. package/src/ui/components/TextField/TextFieldFlat.d.ts +0 -3
  1053. package/src/ui/components/TextField/TextFieldFlat.js +0 -347
  1054. package/src/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
  1055. package/src/ui/components/TextField/TextFieldOutlined.js +0 -313
  1056. package/src/ui/components/TextField/constants.d.ts +0 -31
  1057. package/src/ui/components/TextField/constants.js +0 -40
  1058. package/src/ui/components/TextField/helpers.d.ts +0 -96
  1059. package/src/ui/components/TextField/helpers.js +0 -388
  1060. package/src/ui/components/TextField/types.d.ts +0 -155
  1061. package/src/ui/components/TextField/types.js +0 -2
  1062. package/src/ui/components/TextField.d.ts +0 -191
  1063. package/src/ui/components/TextField.js +0 -291
  1064. package/src/ui/components/TouchableRipple/Pressable.d.ts +0 -12
  1065. package/src/ui/components/TouchableRipple/Pressable.js +0 -5
  1066. package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
  1067. package/src/ui/components/TouchableRipple/TouchableRipple.js +0 -246
  1068. package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
  1069. package/src/ui/components/TouchableRipple/TouchableRipple.native.js +0 -99
  1070. package/src/ui/components/TouchableRipple/utils.d.ts +0 -10
  1071. package/src/ui/components/TouchableRipple/utils.js +0 -40
  1072. package/src/ui/components/Typography/AnimatedText.d.ts +0 -34
  1073. package/src/ui/components/Typography/AnimatedText.js +0 -49
  1074. package/src/ui/components/Typography/types.d.ts +0 -18
  1075. package/src/ui/components/Typography/types.js +0 -22
  1076. package/src/ui/components/feedback/FormInput.d.ts +0 -19
  1077. package/src/ui/components/feedback/FormInput.js +0 -26
  1078. package/src/ui/components/feedback/ProgressIndicator.d.ts +0 -10
  1079. package/src/ui/components/feedback/ProgressIndicator.js +0 -16
  1080. package/src/ui/components/feedback/constants.d.ts +0 -4
  1081. package/src/ui/components/feedback/constants.js +0 -21
  1082. package/src/ui/components/feedback/feedbackStyles.d.ts +0 -279
  1083. package/src/ui/components/feedback/feedbackStyles.js +0 -250
  1084. package/src/ui/components/feedback/index.d.ts +0 -6
  1085. package/src/ui/components/feedback/index.js +0 -18
  1086. package/src/ui/components/feedback/types.d.ts +0 -45
  1087. package/src/ui/components/feedback/types.js +0 -2
  1088. package/src/ui/components/feedback/useFeedbackForm.d.ts +0 -8
  1089. package/src/ui/components/feedback/useFeedbackForm.js +0 -42
  1090. package/src/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
  1091. package/src/ui/components/fileManagement/AnimatedButton.js +0 -29
  1092. package/src/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
  1093. package/src/ui/components/fileManagement/FileDetailsModal.js +0 -22
  1094. package/src/ui/components/fileManagement/FileViewer.d.ts +0 -17
  1095. package/src/ui/components/fileManagement/FileViewer.js +0 -138
  1096. package/src/ui/components/fileManagement/UploadPreview.d.ts +0 -20
  1097. package/src/ui/components/fileManagement/UploadPreview.js +0 -35
  1098. package/src/ui/components/fileManagement/styles.d.ts +0 -859
  1099. package/src/ui/components/fileManagement/styles.js +0 -861
  1100. package/src/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
  1101. package/src/ui/components/icon/FAIRWalletIcon.js +0 -54
  1102. package/src/ui/components/icon/OxyIcon.d.ts +0 -9
  1103. package/src/ui/components/icon/OxyIcon.js +0 -9
  1104. package/src/ui/components/icon/index.d.ts +0 -3
  1105. package/src/ui/components/icon/index.js +0 -10
  1106. package/src/ui/components/index.d.ts +0 -16
  1107. package/src/ui/components/index.js +0 -42
  1108. package/src/ui/components/internal/GroupedPillButtons.d.ts +0 -23
  1109. package/src/ui/components/internal/GroupedPillButtons.js +0 -149
  1110. package/src/ui/components/internal/PinInput.d.ts +0 -22
  1111. package/src/ui/components/internal/PinInput.js +0 -76
  1112. package/src/ui/components/modals/DeleteAccountModal.d.ts +0 -18
  1113. package/src/ui/components/modals/DeleteAccountModal.js +0 -154
  1114. package/src/ui/components/modals/index.d.ts +0 -1
  1115. package/src/ui/components/modals/index.js +0 -8
  1116. package/src/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
  1117. package/src/ui/components/payment/PaymentDetailsStep.js +0 -65
  1118. package/src/ui/components/payment/PaymentMethodStep.d.ts +0 -13
  1119. package/src/ui/components/payment/PaymentMethodStep.js +0 -54
  1120. package/src/ui/components/payment/PaymentReviewStep.d.ts +0 -15
  1121. package/src/ui/components/payment/PaymentReviewStep.js +0 -88
  1122. package/src/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
  1123. package/src/ui/components/payment/PaymentSuccessStep.js +0 -35
  1124. package/src/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
  1125. package/src/ui/components/payment/PaymentSummaryStep.js +0 -60
  1126. package/src/ui/components/payment/constants.d.ts +0 -6
  1127. package/src/ui/components/payment/constants.js +0 -38
  1128. package/src/ui/components/payment/index.d.ts +0 -8
  1129. package/src/ui/components/payment/index.js +0 -24
  1130. package/src/ui/components/payment/paymentStyles.d.ts +0 -395
  1131. package/src/ui/components/payment/paymentStyles.js +0 -399
  1132. package/src/ui/components/payment/types.d.ts +0 -39
  1133. package/src/ui/components/payment/types.js +0 -2
  1134. package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
  1135. package/src/ui/components/photogrid/JustifiedPhotoGrid.js +0 -122
  1136. package/src/ui/components/styles/overlay.d.ts +0 -3
  1137. package/src/ui/components/styles/overlay.js +0 -81
  1138. package/src/ui/components/styles/shadow.d.ts +0 -2
  1139. package/src/ui/components/styles/shadow.js +0 -123
  1140. package/src/ui/components/theming.d.ts +0 -7
  1141. package/src/ui/components/theming.js +0 -111
  1142. package/src/ui/components/types.d.ts +0 -80
  1143. package/src/ui/components/types.js +0 -2
  1144. package/src/ui/components/utils/forwardRef.d.ts +0 -11
  1145. package/src/ui/components/utils/forwardRef.js +0 -46
  1146. package/src/ui/components/utils/hasTouchHandler.d.ts +0 -5
  1147. package/src/ui/components/utils/hasTouchHandler.js +0 -14
  1148. package/src/ui/components/utils/roundLayoutSize.d.ts +0 -1
  1149. package/src/ui/components/utils/roundLayoutSize.js +0 -5
  1150. package/src/ui/components/utils/splitStyles.d.ts +0 -19
  1151. package/src/ui/components/utils/splitStyles.js +0 -40
  1152. package/src/ui/constants/iconColors.d.ts +0 -129
  1153. package/src/ui/constants/iconColors.js +0 -76
  1154. package/src/ui/constants/spacing.d.ts +0 -32
  1155. package/src/ui/constants/spacing.js +0 -40
  1156. package/src/ui/constants/theme.d.ts +0 -96
  1157. package/src/ui/constants/theme.js +0 -118
  1158. package/src/ui/context/OxyContext.d.ts +0 -75
  1159. package/src/ui/context/OxyContext.js +0 -522
  1160. package/src/ui/context/ThemeContext.d.ts +0 -18
  1161. package/src/ui/context/ThemeContext.js +0 -25
  1162. package/src/ui/context/hooks/useAuthOperations.d.ts +0 -39
  1163. package/src/ui/context/hooks/useAuthOperations.js +0 -318
  1164. package/src/ui/hooks/index.d.ts +0 -6
  1165. package/src/ui/hooks/index.js +0 -19
  1166. package/src/ui/hooks/mutations/index.d.ts +0 -8
  1167. package/src/ui/hooks/mutations/index.js +0 -23
  1168. package/src/ui/hooks/mutations/mutationFactory.d.ts +0 -75
  1169. package/src/ui/hooks/mutations/mutationFactory.js +0 -126
  1170. package/src/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
  1171. package/src/ui/hooks/mutations/useAccountMutations.js +0 -274
  1172. package/src/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
  1173. package/src/ui/hooks/mutations/useServicesMutations.js +0 -149
  1174. package/src/ui/hooks/queries/index.d.ts +0 -10
  1175. package/src/ui/hooks/queries/index.js +0 -35
  1176. package/src/ui/hooks/queries/queryKeys.d.ts +0 -64
  1177. package/src/ui/hooks/queries/queryKeys.js +0 -82
  1178. package/src/ui/hooks/queries/useAccountQueries.d.ts +0 -42
  1179. package/src/ui/hooks/queries/useAccountQueries.js +0 -141
  1180. package/src/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
  1181. package/src/ui/hooks/queries/useSecurityQueries.js +0 -45
  1182. package/src/ui/hooks/queries/useServicesQueries.d.ts +0 -30
  1183. package/src/ui/hooks/queries/useServicesQueries.js +0 -113
  1184. package/src/ui/hooks/queryClient.d.ts +0 -18
  1185. package/src/ui/hooks/queryClient.js +0 -111
  1186. package/src/ui/hooks/useAssets.d.ts +0 -34
  1187. package/src/ui/hooks/useAssets.js +0 -204
  1188. package/src/ui/hooks/useAsyncAction.d.ts +0 -50
  1189. package/src/ui/hooks/useAsyncAction.js +0 -77
  1190. package/src/ui/hooks/useAuth.d.ts +0 -77
  1191. package/src/ui/hooks/useAuth.js +0 -135
  1192. package/src/ui/hooks/useAvatarPicker.d.ts +0 -24
  1193. package/src/ui/hooks/useAvatarPicker.js +0 -44
  1194. package/src/ui/hooks/useColorScheme.d.ts +0 -7
  1195. package/src/ui/hooks/useColorScheme.js +0 -23
  1196. package/src/ui/hooks/useDeviceManagement.d.ts +0 -26
  1197. package/src/ui/hooks/useDeviceManagement.js +0 -69
  1198. package/src/ui/hooks/useFileDownloadUrl.d.ts +0 -21
  1199. package/src/ui/hooks/useFileDownloadUrl.js +0 -104
  1200. package/src/ui/hooks/useFileFiltering.d.ts +0 -28
  1201. package/src/ui/hooks/useFileFiltering.js +0 -80
  1202. package/src/ui/hooks/useFollow.d.ts +0 -92
  1203. package/src/ui/hooks/useFollow.js +0 -216
  1204. package/src/ui/hooks/useFollow.types.d.ts +0 -32
  1205. package/src/ui/hooks/useFollow.types.js +0 -4
  1206. package/src/ui/hooks/useI18n.d.ts +0 -4
  1207. package/src/ui/hooks/useI18n.js +0 -13
  1208. package/src/ui/hooks/useLanguageManagement.d.ts +0 -24
  1209. package/src/ui/hooks/useLanguageManagement.js +0 -108
  1210. package/src/ui/hooks/useProfileEditing.d.ts +0 -35
  1211. package/src/ui/hooks/useProfileEditing.js +0 -101
  1212. package/src/ui/hooks/useQueryClient.d.ts +0 -6
  1213. package/src/ui/hooks/useQueryClient.js +0 -16
  1214. package/src/ui/hooks/useSessionManagement.d.ts +0 -40
  1215. package/src/ui/hooks/useSessionManagement.js +0 -312
  1216. package/src/ui/hooks/useSessionSocket.d.ts +0 -14
  1217. package/src/ui/hooks/useSessionSocket.js +0 -209
  1218. package/src/ui/hooks/useSettingToggle.d.ts +0 -56
  1219. package/src/ui/hooks/useSettingToggle.js +0 -97
  1220. package/src/ui/hooks/useStorage.d.ts +0 -15
  1221. package/src/ui/hooks/useStorage.js +0 -40
  1222. package/src/ui/hooks/useThemeColors.d.ts +0 -93
  1223. package/src/ui/hooks/useThemeColors.js +0 -27
  1224. package/src/ui/hooks/useThemeStyles.d.ts +0 -44
  1225. package/src/ui/hooks/useThemeStyles.js +0 -63
  1226. package/src/ui/hooks/useWebSSO.d.ts +0 -57
  1227. package/src/ui/hooks/useWebSSO.js +0 -146
  1228. package/src/ui/index.d.ts +0 -23
  1229. package/src/ui/index.js +0 -97
  1230. package/src/ui/isFrontend.d.ts +0 -2
  1231. package/src/ui/isFrontend.js +0 -6
  1232. package/src/ui/navigation/bottomSheetManager.d.ts +0 -26
  1233. package/src/ui/navigation/bottomSheetManager.js +0 -68
  1234. package/src/ui/navigation/routes.d.ts +0 -5
  1235. package/src/ui/navigation/routes.js +0 -75
  1236. package/src/ui/screens/AccountCenterScreen.d.ts +0 -4
  1237. package/src/ui/screens/AccountCenterScreen.js +0 -202
  1238. package/src/ui/screens/AccountOverviewScreen.d.ts +0 -4
  1239. package/src/ui/screens/AccountOverviewScreen.js +0 -648
  1240. package/src/ui/screens/AccountSettingsScreen.d.ts +0 -7
  1241. package/src/ui/screens/AccountSettingsScreen.js +0 -480
  1242. package/src/ui/screens/AccountSwitcherScreen.d.ts +0 -4
  1243. package/src/ui/screens/AccountSwitcherScreen.js +0 -482
  1244. package/src/ui/screens/AccountVerificationScreen.d.ts +0 -4
  1245. package/src/ui/screens/AccountVerificationScreen.js +0 -164
  1246. package/src/ui/screens/AppInfoScreen.d.ts +0 -4
  1247. package/src/ui/screens/AppInfoScreen.js +0 -373
  1248. package/src/ui/screens/EditProfileFieldScreen.d.ts +0 -12
  1249. package/src/ui/screens/EditProfileFieldScreen.js +0 -549
  1250. package/src/ui/screens/FAQScreen.d.ts +0 -4
  1251. package/src/ui/screens/FAQScreen.js +0 -182
  1252. package/src/ui/screens/FeedbackScreen.d.ts +0 -4
  1253. package/src/ui/screens/FeedbackScreen.js +0 -160
  1254. package/src/ui/screens/FileManagementScreen.d.ts +0 -4
  1255. package/src/ui/screens/FileManagementScreen.js +0 -1473
  1256. package/src/ui/screens/FollowersListScreen.d.ts +0 -8
  1257. package/src/ui/screens/FollowersListScreen.js +0 -11
  1258. package/src/ui/screens/FollowingListScreen.d.ts +0 -8
  1259. package/src/ui/screens/FollowingListScreen.js +0 -11
  1260. package/src/ui/screens/HelpSupportScreen.d.ts +0 -4
  1261. package/src/ui/screens/HelpSupportScreen.js +0 -140
  1262. package/src/ui/screens/HistoryViewScreen.d.ts +0 -4
  1263. package/src/ui/screens/HistoryViewScreen.js +0 -225
  1264. package/src/ui/screens/LanguageSelectorScreen.d.ts +0 -6
  1265. package/src/ui/screens/LanguageSelectorScreen.js +0 -178
  1266. package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
  1267. package/src/ui/screens/LearnMoreUsernamesScreen.js +0 -150
  1268. package/src/ui/screens/LegalDocumentsScreen.d.ts +0 -4
  1269. package/src/ui/screens/LegalDocumentsScreen.js +0 -185
  1270. package/src/ui/screens/OxyAuthScreen.d.ts +0 -16
  1271. package/src/ui/screens/OxyAuthScreen.js +0 -431
  1272. package/src/ui/screens/PaymentGatewayScreen.d.ts +0 -14
  1273. package/src/ui/screens/PaymentGatewayScreen.js +0 -171
  1274. package/src/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
  1275. package/src/ui/screens/PremiumSubscriptionScreen.js +0 -1080
  1276. package/src/ui/screens/PrivacySettingsScreen.d.ts +0 -4
  1277. package/src/ui/screens/PrivacySettingsScreen.js +0 -252
  1278. package/src/ui/screens/ProfileScreen.d.ts +0 -8
  1279. package/src/ui/screens/ProfileScreen.js +0 -254
  1280. package/src/ui/screens/SavesCollectionsScreen.d.ts +0 -4
  1281. package/src/ui/screens/SavesCollectionsScreen.js +0 -150
  1282. package/src/ui/screens/SearchSettingsScreen.d.ts +0 -4
  1283. package/src/ui/screens/SearchSettingsScreen.js +0 -109
  1284. package/src/ui/screens/SessionManagementScreen.d.ts +0 -4
  1285. package/src/ui/screens/SessionManagementScreen.js +0 -320
  1286. package/src/ui/screens/UserLinksScreen.d.ts +0 -14
  1287. package/src/ui/screens/UserLinksScreen.js +0 -57
  1288. package/src/ui/screens/UserListScreen.d.ts +0 -10
  1289. package/src/ui/screens/UserListScreen.js +0 -249
  1290. package/src/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
  1291. package/src/ui/screens/WelcomeNewUserScreen.js +0 -304
  1292. package/src/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
  1293. package/src/ui/screens/karma/KarmaAboutScreen.js +0 -39
  1294. package/src/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
  1295. package/src/ui/screens/karma/KarmaCenterScreen.js +0 -159
  1296. package/src/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
  1297. package/src/ui/screens/karma/KarmaFAQScreen.js +0 -143
  1298. package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
  1299. package/src/ui/screens/karma/KarmaLeaderboardScreen.js +0 -56
  1300. package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
  1301. package/src/ui/screens/karma/KarmaRewardsScreen.js +0 -460
  1302. package/src/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
  1303. package/src/ui/screens/karma/KarmaRulesScreen.js +0 -47
  1304. package/src/ui/server.d.ts +0 -40
  1305. package/src/ui/server.js +0 -57
  1306. package/src/ui/stores/accountStore.d.ts +0 -26
  1307. package/src/ui/stores/accountStore.js +0 -196
  1308. package/src/ui/stores/assetStore.d.ts +0 -53
  1309. package/src/ui/stores/assetStore.js +0 -192
  1310. package/src/ui/stores/authStore.d.ts +0 -16
  1311. package/src/ui/stores/authStore.js +0 -47
  1312. package/src/ui/stores/fileStore.d.ts +0 -30
  1313. package/src/ui/stores/fileStore.js +0 -113
  1314. package/src/ui/stores/followStore.d.ts +0 -24
  1315. package/src/ui/stores/followStore.js +0 -154
  1316. package/src/ui/styles/authStyles.d.ts +0 -331
  1317. package/src/ui/styles/authStyles.js +0 -332
  1318. package/src/ui/styles/fonts.d.ts +0 -20
  1319. package/src/ui/styles/fonts.js +0 -72
  1320. package/src/ui/styles/index.d.ts +0 -4
  1321. package/src/ui/styles/index.js +0 -20
  1322. package/src/ui/styles/spacing.d.ts +0 -48
  1323. package/src/ui/styles/spacing.js +0 -63
  1324. package/src/ui/styles/theme.d.ts +0 -67
  1325. package/src/ui/styles/theme.js +0 -114
  1326. package/src/ui/types/fileManagement.d.ts +0 -40
  1327. package/src/ui/types/fileManagement.js +0 -2
  1328. package/src/ui/types/navigation.d.ts +0 -36
  1329. package/src/ui/types/navigation.js +0 -2
  1330. package/src/ui/utils/avatarUtils.d.ts +0 -22
  1331. package/src/ui/utils/avatarUtils.js +0 -52
  1332. package/src/ui/utils/colorUtils.d.ts +0 -9
  1333. package/src/ui/utils/colorUtils.js +0 -19
  1334. package/src/ui/utils/confirmAction.d.ts +0 -6
  1335. package/src/ui/utils/confirmAction.js +0 -22
  1336. package/src/ui/utils/errorHandlers.d.ts +0 -34
  1337. package/src/ui/utils/errorHandlers.js +0 -128
  1338. package/src/ui/utils/fileManagement.d.ts +0 -86
  1339. package/src/ui/utils/fileManagement.js +0 -238
  1340. package/src/ui/utils/iconNames.d.ts +0 -111
  1341. package/src/ui/utils/iconNames.js +0 -124
  1342. package/src/ui/utils/sessionHelpers.d.ts +0 -64
  1343. package/src/ui/utils/sessionHelpers.js +0 -90
  1344. package/src/ui/utils/storageHelpers.d.ts +0 -27
  1345. package/src/ui/utils/storageHelpers.js +0 -114
  1346. package/src/ui/utils/themeUtils.d.ts +0 -10
  1347. package/src/ui/utils/themeUtils.js +0 -17
  1348. package/src/ui/utils/userUtils.d.ts +0 -28
  1349. package/src/ui/utils/userUtils.js +0 -54
  1350. package/src/utils/hookUtils.d.ts +0 -101
  1351. package/src/utils/hookUtils.js +0 -373
@@ -1,114 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createCommonStyles = exports.useThemeColors = exports.getTheme = void 0;
4
- const react_native_1 = require("react-native");
5
- const fonts_1 = require("./fonts");
6
- const lightColors = {
7
- text: '#000000',
8
- background: '#FFFFFF',
9
- inputBackground: '#F5F5F5',
10
- placeholder: '#999999',
11
- primary: '#d169e5',
12
- border: '#E0E0E0',
13
- error: '#D32F2F',
14
- success: '#2E7D32',
15
- warning: '#F57C00',
16
- secondaryText: '#666666',
17
- };
18
- const darkColors = {
19
- text: '#FFFFFF',
20
- background: '#000000',
21
- inputBackground: '#333333',
22
- placeholder: '#AAAAAA',
23
- primary: '#d169e5',
24
- border: '#444444',
25
- error: '#EF5350',
26
- success: '#81C784',
27
- warning: '#FFB74D',
28
- secondaryText: '#BBBBBB',
29
- };
30
- const createTheme = (isDark) => {
31
- const colors = isDark ? darkColors : lightColors;
32
- return {
33
- colors,
34
- fonts: {
35
- title: {
36
- fontFamily: fonts_1.fontFamilies.interBold,
37
- fontWeight: react_native_1.Platform.OS === 'web' ? 'bold' : undefined,
38
- fontSize: 34,
39
- },
40
- body: {
41
- fontSize: 16,
42
- lineHeight: 24,
43
- },
44
- button: {
45
- fontFamily: fonts_1.fontFamilies.interSemiBold,
46
- fontSize: 16,
47
- fontWeight: '600',
48
- color: '#FFFFFF',
49
- },
50
- label: {
51
- fontSize: 14,
52
- fontWeight: '500',
53
- marginBottom: 8,
54
- },
55
- }
56
- };
57
- };
58
- const getTheme = (theme) => {
59
- return createTheme(theme === 'dark');
60
- };
61
- exports.getTheme = getTheme;
62
- const useThemeColors = (theme) => {
63
- return (0, exports.getTheme)(theme).colors;
64
- };
65
- exports.useThemeColors = useThemeColors;
66
- // Common styles that can be reused across components
67
- const createCommonStyles = (theme) => {
68
- const themeObj = (0, exports.getTheme)(theme);
69
- const { colors } = themeObj;
70
- return react_native_1.StyleSheet.create({
71
- container: {
72
- backgroundColor: colors.background,
73
- },
74
- scrollContainer: {
75
- padding: 10,
76
- },
77
- input: {
78
- height: 48,
79
- borderRadius: 35,
80
- paddingHorizontal: 16,
81
- borderWidth: 1,
82
- fontSize: 16,
83
- backgroundColor: colors.inputBackground,
84
- borderColor: colors.border,
85
- color: colors.text,
86
- },
87
- button: {
88
- backgroundColor: colors.primary,
89
- height: 48,
90
- borderRadius: 35,
91
- alignItems: 'center',
92
- justifyContent: 'center',
93
- marginTop: 24,
94
- },
95
- buttonText: {
96
- fontFamily: fonts_1.fontFamilies.interSemiBold,
97
- fontSize: 16,
98
- fontWeight: '600',
99
- color: '#FFFFFF',
100
- },
101
- errorContainer: {
102
- backgroundColor: '#FFEBEE',
103
- padding: 12,
104
- borderRadius: 35,
105
- marginBottom: 16,
106
- },
107
- errorText: {
108
- fontSize: 14,
109
- fontWeight: '500',
110
- color: colors.error,
111
- },
112
- });
113
- };
114
- exports.createCommonStyles = createCommonStyles;
@@ -1,40 +0,0 @@
1
- import type { BaseScreenProps } from './navigation';
2
- import type { FileMetadata } from '@oxyhq/core';
3
- export type OnConfirmFileSelection = (files: FileMetadata[]) => void;
4
- export interface FileManagementScreenProps extends BaseScreenProps {
5
- userId?: string;
6
- containerWidth?: number;
7
- selectMode?: boolean;
8
- multiSelect?: boolean;
9
- onSelect?: (file: FileMetadata) => void;
10
- onConfirmSelection?: OnConfirmFileSelection;
11
- initialSelectedIds?: string[];
12
- maxSelection?: number;
13
- disabledMimeTypes?: string[];
14
- /**
15
- * What to do after a single selection (non-multiSelect) is made.
16
- * 'close' (default) will dismiss the bottom sheet via onClose.
17
- * 'back' will navigate back to the previous screen (e.g., return to AccountSettings without closing sheet).
18
- * 'none' will keep the picker open (caller can manually close or navigate).
19
- */
20
- afterSelect?: 'close' | 'back' | 'none';
21
- allowUploadInSelectMode?: boolean;
22
- /**
23
- * Default visibility for uploaded files in this screen
24
- * Useful for third-party apps that want files to be public (e.g., GIF selector)
25
- */
26
- defaultVisibility?: 'private' | 'public' | 'unlisted';
27
- /**
28
- * Link context for tracking file usage by third-party apps
29
- * When provided, selected files will be linked to this entity
30
- */
31
- linkContext?: {
32
- app: string;
33
- entityType: string;
34
- entityId: string;
35
- webhookUrl?: string;
36
- };
37
- }
38
- export type ViewMode = 'all' | 'photos' | 'videos' | 'documents' | 'audio';
39
- export type SortBy = 'date' | 'size' | 'name' | 'type';
40
- export type SortOrder = 'asc' | 'desc';
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,36 +0,0 @@
1
- import type { ReactNode, RefObject } from 'react';
2
- import type { QueryClient } from '@tanstack/react-query';
3
- import type { RouteName } from '../navigation/routes';
4
- export type { RouteName };
5
- export interface StepController {
6
- canGoBack: () => boolean;
7
- goBack: () => void;
8
- }
9
- export interface BaseScreenProps {
10
- navigate?: (screen: RouteName, props?: Record<string, unknown>) => void;
11
- goBack?: () => void;
12
- onClose?: () => void;
13
- onAuthenticated?: (payload?: unknown) => void;
14
- theme?: 'light' | 'dark' | string;
15
- initialStep?: number;
16
- stepControllerRef?: RefObject<StepController | null>;
17
- onStepChange?: (currentStep: number, totalSteps: number) => void;
18
- currentScreen?: RouteName;
19
- scrollTo?: (y: number, animated?: boolean) => void;
20
- username?: string;
21
- email?: string;
22
- password?: string;
23
- confirmPassword?: string;
24
- userProfile?: unknown;
25
- [key: string]: unknown;
26
- }
27
- export interface OxyProviderProps {
28
- oxyServices?: unknown;
29
- children?: ReactNode;
30
- onAuthStateChange?: (user: unknown) => void;
31
- storageKeyPrefix?: string;
32
- baseURL?: string;
33
- authWebUrl?: string;
34
- authRedirectUri?: string;
35
- queryClient?: QueryClient;
36
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- import type { OxyServices, User } from '@oxyhq/core';
2
- import type { QueryClient } from '@tanstack/react-query';
3
- /**
4
- * Refreshes avatar in accountStore with cache-busted URL to force image reload.
5
- *
6
- * @param sessionId - The session ID for the account to update
7
- * @param avatarFileId - The new avatar file ID
8
- * @param oxyServices - OxyServices instance to generate download URL
9
- */
10
- export declare function refreshAvatarInStore(sessionId: string, avatarFileId: string, oxyServices: OxyServices): void;
11
- /**
12
- * Updates user profile with avatar and handles all side effects (query invalidation, accountStore update).
13
- * This function can be used from within OxyContext provider without requiring useOxy hook.
14
- *
15
- * @param updates - Profile updates including avatar
16
- * @param oxyServices - OxyServices instance
17
- * @param activeSessionId - Active session ID
18
- * @param queryClient - TanStack Query client
19
- * @param syncSession - Optional function to sync session/refresh token when auth errors occur
20
- * @returns Promise that resolves with updated user data
21
- */
22
- export declare function updateProfileWithAvatar(updates: Partial<User>, oxyServices: OxyServices, activeSessionId: string | null, queryClient: QueryClient, syncSession?: () => Promise<User>): Promise<User>;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.refreshAvatarInStore = refreshAvatarInStore;
4
- exports.updateProfileWithAvatar = updateProfileWithAvatar;
5
- const core_1 = require("@oxyhq/core");
6
- const accountStore_1 = require("../stores/accountStore");
7
- const authStore_1 = require("../stores/authStore");
8
- const queryKeys_1 = require("../hooks/queries/queryKeys");
9
- /**
10
- * Refreshes avatar in accountStore with cache-busted URL to force image reload.
11
- *
12
- * @param sessionId - The session ID for the account to update
13
- * @param avatarFileId - The new avatar file ID
14
- * @param oxyServices - OxyServices instance to generate download URL
15
- */
16
- function refreshAvatarInStore(sessionId, avatarFileId, oxyServices) {
17
- const { updateAccount } = accountStore_1.useAccountStore.getState();
18
- const cacheBustedUrl = `${oxyServices.getFileDownloadUrl(avatarFileId, 'thumb')}?t=${Date.now()}`;
19
- updateAccount(sessionId, {
20
- avatar: avatarFileId,
21
- avatarUrl: cacheBustedUrl,
22
- });
23
- }
24
- /**
25
- * Updates user profile with avatar and handles all side effects (query invalidation, accountStore update).
26
- * This function can be used from within OxyContext provider without requiring useOxy hook.
27
- *
28
- * @param updates - Profile updates including avatar
29
- * @param oxyServices - OxyServices instance
30
- * @param activeSessionId - Active session ID
31
- * @param queryClient - TanStack Query client
32
- * @param syncSession - Optional function to sync session/refresh token when auth errors occur
33
- * @returns Promise that resolves with updated user data
34
- */
35
- async function updateProfileWithAvatar(updates, oxyServices, activeSessionId, queryClient, syncSession) {
36
- const data = await (0, core_1.authenticatedApiCall)(oxyServices, activeSessionId, () => oxyServices.updateProfile(updates), syncSession);
37
- // Update cache with server response
38
- queryClient.setQueryData(queryKeys_1.queryKeys.accounts.current(), data);
39
- if (activeSessionId) {
40
- queryClient.setQueryData(queryKeys_1.queryKeys.users.profile(activeSessionId), data);
41
- }
42
- // Update authStore so frontend components see the changes immediately
43
- authStore_1.useAuthStore.getState().setUser(data);
44
- // If avatar was updated, refresh accountStore with cache-busted URL
45
- if (updates.avatar && activeSessionId) {
46
- refreshAvatarInStore(activeSessionId, updates.avatar, oxyServices);
47
- }
48
- // Invalidate all related queries to refresh everywhere
49
- (0, queryKeys_1.invalidateUserQueries)(queryClient);
50
- (0, queryKeys_1.invalidateAccountQueries)(queryClient);
51
- return data;
52
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Color Utility Functions
3
- *
4
- * Re-exports from shared module for cleaner internal imports.
5
- * External consumers should use '@oxyhq/services/shared' directly.
6
- *
7
- * @module ui/utils/colorUtils
8
- */
9
- export { darkenColor, lightenColor, hexToRgb, rgbToHex, withOpacity, isLightColor, getContrastTextColor, } from '@oxyhq/core';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- /**
3
- * Color Utility Functions
4
- *
5
- * Re-exports from shared module for cleaner internal imports.
6
- * External consumers should use '@oxyhq/services/shared' directly.
7
- *
8
- * @module ui/utils/colorUtils
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.getContrastTextColor = exports.isLightColor = exports.withOpacity = exports.rgbToHex = exports.hexToRgb = exports.lightenColor = exports.darkenColor = void 0;
12
- var core_1 = require("@oxyhq/core");
13
- Object.defineProperty(exports, "darkenColor", { enumerable: true, get: function () { return core_1.darkenColor; } });
14
- Object.defineProperty(exports, "lightenColor", { enumerable: true, get: function () { return core_1.lightenColor; } });
15
- Object.defineProperty(exports, "hexToRgb", { enumerable: true, get: function () { return core_1.hexToRgb; } });
16
- Object.defineProperty(exports, "rgbToHex", { enumerable: true, get: function () { return core_1.rgbToHex; } });
17
- Object.defineProperty(exports, "withOpacity", { enumerable: true, get: function () { return core_1.withOpacity; } });
18
- Object.defineProperty(exports, "isLightColor", { enumerable: true, get: function () { return core_1.isLightColor; } });
19
- Object.defineProperty(exports, "getContrastTextColor", { enumerable: true, get: function () { return core_1.getContrastTextColor; } });
@@ -1,6 +0,0 @@
1
- /**
2
- * Cross-platform confirm dialog. Uses window.confirm on web, Alert.alert on native.
3
- * @param message The message to display
4
- * @param onConfirm Callback if user confirms
5
- */
6
- export declare function confirmAction(message: string, onConfirm: () => void): void;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.confirmAction = confirmAction;
4
- const react_native_1 = require("react-native");
5
- /**
6
- * Cross-platform confirm dialog. Uses window.confirm on web, Alert.alert on native.
7
- * @param message The message to display
8
- * @param onConfirm Callback if user confirms
9
- */
10
- function confirmAction(message, onConfirm) {
11
- if (react_native_1.Platform.OS === 'web') {
12
- if (window.confirm(message)) {
13
- onConfirm();
14
- }
15
- }
16
- else {
17
- react_native_1.Alert.alert('Confirm', message, [
18
- { text: 'Cancel', style: 'cancel' },
19
- { text: 'OK', onPress: onConfirm },
20
- ]);
21
- }
22
- }
@@ -1,34 +0,0 @@
1
- import type { ApiError } from '@oxyhq/core';
2
- export interface HandleAuthErrorOptions {
3
- defaultMessage: string;
4
- code: string;
5
- status?: number;
6
- onError?: (error: ApiError) => void;
7
- setAuthError?: (message: string) => void;
8
- logger?: (message: string, error?: unknown) => void;
9
- }
10
- /**
11
- * Determine whether the error represents an invalid session condition.
12
- * This centralizes 401 detection across different fetch clients.
13
- */
14
- export declare const isInvalidSessionError: (error: unknown) => boolean;
15
- /**
16
- * Determine whether the error represents a timeout or network error.
17
- * These are expected when the device is offline or has poor connectivity.
18
- */
19
- export declare const isTimeoutOrNetworkError: (error: unknown) => boolean;
20
- /**
21
- * Extract a consistent error message from unknown error shapes.
22
- *
23
- * @param error - The unknown error payload
24
- * @param fallbackMessage - Message to return when no concrete message is available
25
- */
26
- export declare const extractErrorMessage: (error: unknown, fallbackMessage?: string) => string;
27
- /**
28
- * Centralized error handler for auth-related operations.
29
- *
30
- * @param error - Unknown error object
31
- * @param options - Error handling configuration
32
- * @returns Resolved error message
33
- */
34
- export declare const handleAuthError: (error: unknown, { defaultMessage, code, status, onError, setAuthError, logger, }: HandleAuthErrorOptions) => string;
@@ -1,128 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handleAuthError = exports.extractErrorMessage = exports.isTimeoutOrNetworkError = exports.isInvalidSessionError = void 0;
4
- const DEFAULT_INVALID_SESSION_MESSAGES = [
5
- 'Invalid or expired session',
6
- 'Session is invalid',
7
- 'Session not found',
8
- 'Session expired',
9
- ];
10
- const isObject = (value) => typeof value === 'object' && value !== null;
11
- const getResponseStatus = (error) => {
12
- if (!isObject(error))
13
- return undefined;
14
- const response = error.response;
15
- return response?.status;
16
- };
17
- /**
18
- * Determine whether the error represents an invalid session condition.
19
- * This centralizes 401 detection across different fetch clients.
20
- */
21
- const isInvalidSessionError = (error) => {
22
- const status = getResponseStatus(error);
23
- if (status === 401) {
24
- return true;
25
- }
26
- if (!isObject(error)) {
27
- return false;
28
- }
29
- // Check error.status directly (HttpService sets this)
30
- if ('status' in error && error.status === 401) {
31
- return true;
32
- }
33
- const normalizedMessage = (0, exports.extractErrorMessage)(error)?.toLowerCase();
34
- if (!normalizedMessage) {
35
- return false;
36
- }
37
- // Check for HTTP 401 in message (HttpService creates errors with "HTTP 401:" format)
38
- if (normalizedMessage.includes('http 401') || normalizedMessage.includes('401')) {
39
- return true;
40
- }
41
- return DEFAULT_INVALID_SESSION_MESSAGES.some((msg) => normalizedMessage.includes(msg.toLowerCase()));
42
- };
43
- exports.isInvalidSessionError = isInvalidSessionError;
44
- /**
45
- * Determine whether the error represents a timeout or network error.
46
- * These are expected when the device is offline or has poor connectivity.
47
- */
48
- const isTimeoutOrNetworkError = (error) => {
49
- if (!isObject(error) && !(error instanceof Error)) {
50
- return false;
51
- }
52
- const message = (0, exports.extractErrorMessage)(error, '').toLowerCase();
53
- const errorCode = isObject(error) && 'code' in error ? error.code : undefined;
54
- // Check for timeout/cancelled messages
55
- if (message.includes('timeout') ||
56
- message.includes('cancelled') ||
57
- message.includes('econnaborted') ||
58
- message.includes('aborted') ||
59
- message.includes('request timeout or cancelled')) {
60
- return true;
61
- }
62
- // Check for timeout/network error codes
63
- if (errorCode === 'TIMEOUT' || errorCode === 'NETWORK_ERROR' || errorCode === 'ECONNABORTED') {
64
- return true;
65
- }
66
- // Check for AbortError
67
- if (error instanceof Error && error.name === 'AbortError') {
68
- return true;
69
- }
70
- // Check for network-related TypeErrors
71
- if (error instanceof TypeError) {
72
- const typeErrorMessage = error.message.toLowerCase();
73
- if (typeErrorMessage.includes('fetch') ||
74
- typeErrorMessage.includes('network') ||
75
- typeErrorMessage.includes('failed to fetch')) {
76
- return true;
77
- }
78
- }
79
- return false;
80
- };
81
- exports.isTimeoutOrNetworkError = isTimeoutOrNetworkError;
82
- /**
83
- * Extract a consistent error message from unknown error shapes.
84
- *
85
- * @param error - The unknown error payload
86
- * @param fallbackMessage - Message to return when no concrete message is available
87
- */
88
- const extractErrorMessage = (error, fallbackMessage = 'Unexpected error') => {
89
- if (typeof error === 'string' && error.trim().length > 0) {
90
- return error;
91
- }
92
- if (!isObject(error)) {
93
- return fallbackMessage;
94
- }
95
- const withMessage = error;
96
- if (withMessage.message && withMessage.message.trim().length > 0) {
97
- return withMessage.message;
98
- }
99
- const withResponse = error;
100
- const responseMessage = withResponse.response?.data?.message ?? withResponse.response?.data?.error;
101
- if (typeof responseMessage === 'string' && responseMessage.trim().length > 0) {
102
- return responseMessage;
103
- }
104
- return fallbackMessage;
105
- };
106
- exports.extractErrorMessage = extractErrorMessage;
107
- /**
108
- * Centralized error handler for auth-related operations.
109
- *
110
- * @param error - Unknown error object
111
- * @param options - Error handling configuration
112
- * @returns Resolved error message
113
- */
114
- const handleAuthError = (error, { defaultMessage, code, status, onError, setAuthError, logger, }) => {
115
- const resolvedStatus = status ?? getResponseStatus(error) ?? ((0, exports.isInvalidSessionError)(error) ? 401 : 500);
116
- const message = (0, exports.extractErrorMessage)(error, defaultMessage);
117
- if (logger) {
118
- logger(message, error);
119
- }
120
- setAuthError?.(message);
121
- onError?.({
122
- message,
123
- code,
124
- status: resolvedStatus,
125
- });
126
- return message;
127
- };
128
- exports.handleAuthError = handleAuthError;
@@ -1,86 +0,0 @@
1
- import type { FileMetadata } from '@oxyhq/core';
2
- import type { RouteName } from '../navigation/routes';
3
- /**
4
- * Format file size in bytes to human-readable string
5
- */
6
- export declare function formatFileSize(bytes: number): string;
7
- /**
8
- * Get icon name for file based on content type
9
- */
10
- export declare function getFileIcon(contentType: string): string;
11
- /**
12
- * Unified confirmation dialog - uses Alert.alert for all platforms
13
- */
14
- export declare function confirmAction(message: string, title?: string, confirmText?: string, cancelText?: string): Promise<boolean>;
15
- /**
16
- * Convert DocumentPicker asset to File object
17
- * Handles both web (native File API) and mobile (URI-based) file sources
18
- * Expo 54 compatible - works across all platforms
19
- */
20
- export declare function convertDocumentPickerAssetToFile(doc: {
21
- file?: File | Blob;
22
- uri?: string;
23
- name?: string | null;
24
- mimeType?: string | null;
25
- size?: number | null;
26
- }, index: number): Promise<File | null>;
27
- /**
28
- * Helper to safely request a thumbnail variant only for image mime types.
29
- * Prevents backend warnings: "Variant thumb not supported for mime application/pdf".
30
- *
31
- * @param file - File metadata
32
- * @param variant - Variant type (default: 'thumb')
33
- * @param getFileDownloadUrl - Function to get download URL from oxyServices
34
- */
35
- export declare function getSafeDownloadUrl(file: FileMetadata, variant: string, getFileDownloadUrl: (fileId: string, variant?: string) => string): string;
36
- /**
37
- * Upload file raw - helper function for file uploads
38
- */
39
- export declare function uploadFileRaw(file: File | Blob, userId: string, oxyServices: any, visibility?: 'private' | 'public' | 'unlisted'): Promise<any>;
40
- /**
41
- * Configuration for creating an avatar picker handler
42
- */
43
- export interface AvatarPickerConfig {
44
- /** Navigation function from BaseScreenProps */
45
- navigate?: (screen: RouteName, props?: Record<string, unknown>) => void;
46
- /** OxyServices instance */
47
- oxyServices: any;
48
- /** TanStack Query mutation for updating profile */
49
- updateProfileMutation: {
50
- mutateAsync: (updates: {
51
- avatar: string;
52
- }) => Promise<unknown>;
53
- };
54
- /** Callback to update local avatar state */
55
- onAvatarSelected?: (fileId: string) => void;
56
- /** i18n translation function */
57
- t: (key: string) => string | undefined;
58
- /** Optional context name for logging (e.g., 'AccountSettings', 'WelcomeNewUser') */
59
- contextName?: string;
60
- }
61
- /**
62
- * Creates a reusable avatar picker handler function.
63
- *
64
- * This function navigates to the FileManagement screen and handles:
65
- * - Image file validation
66
- * - File visibility update to public
67
- * - Profile avatar update via mutation
68
- * - Success/error toast notifications
69
- *
70
- * @example
71
- * ```tsx
72
- * const openAvatarPicker = createAvatarPickerHandler({
73
- * navigate,
74
- * oxyServices,
75
- * updateProfileMutation,
76
- * onAvatarSelected: setAvatarFileId,
77
- * t,
78
- * contextName: 'AccountSettings'
79
- * });
80
- *
81
- * <TouchableOpacity onPress={openAvatarPicker}>
82
- * <Text>Change Avatar</Text>
83
- * </TouchableOpacity>
84
- * ```
85
- */
86
- export declare function createAvatarPickerHandler(config: AvatarPickerConfig): () => void;