@oxyhq/services 10.5.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/lib/commonjs/index.js.map +1 -1
  2. package/lib/commonjs/ui/components/AccountMenu.js +9 -5
  3. package/lib/commonjs/ui/components/AccountMenu.js.map +1 -1
  4. package/lib/commonjs/ui/components/AnotherDeviceQR.js +51 -56
  5. package/lib/commonjs/ui/components/AnotherDeviceQR.js.map +1 -1
  6. package/lib/commonjs/ui/components/BottomSheetRouter.js +1 -0
  7. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
  8. package/lib/commonjs/ui/components/FollowButton.js +18 -5
  9. package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
  10. package/lib/commonjs/ui/components/OxyProvider.js +23 -7
  11. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  12. package/lib/commonjs/ui/components/SignInModal.js +20 -1
  13. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  14. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +19 -9
  15. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
  16. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +4 -2
  17. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
  18. package/lib/commonjs/ui/context/OxyContext.js +153 -19
  19. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  20. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -17
  21. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  22. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +5 -5
  23. package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
  24. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +38 -38
  25. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  26. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +2 -2
  27. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  28. package/lib/commonjs/ui/hooks/queries/queryKeys.js +3 -3
  29. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
  30. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +1 -1
  31. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
  32. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +16 -12
  33. package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  34. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +10 -6
  35. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
  36. package/lib/commonjs/ui/hooks/queryClient.js +6 -5
  37. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
  38. package/lib/commonjs/ui/hooks/useOxyAuthSession.js +40 -2
  39. package/lib/commonjs/ui/hooks/useOxyAuthSession.js.map +1 -1
  40. package/lib/commonjs/ui/hooks/useProfileEditing.js +21 -0
  41. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  42. package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
  43. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
  44. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +100 -108
  45. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  46. package/lib/commonjs/ui/screens/AppInfoScreen.js +227 -273
  47. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  48. package/lib/commonjs/ui/screens/AvatarCropScreen.js +10 -4
  49. package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
  50. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +20 -37
  51. package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
  52. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +89 -201
  53. package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  54. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +80 -208
  55. package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
  56. package/lib/commonjs/ui/screens/FAQScreen.js +56 -208
  57. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
  58. package/lib/commonjs/ui/screens/FeedbackScreen.js +303 -352
  59. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  60. package/lib/commonjs/ui/screens/FileManagementScreen.js +20 -20
  61. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  62. package/lib/commonjs/ui/screens/HelpSupportScreen.js +77 -89
  63. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  64. package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -58
  65. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +67 -90
  67. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +77 -177
  69. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  70. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +113 -107
  71. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  72. package/lib/commonjs/ui/screens/ManageAccountScreen.js +55 -114
  73. package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
  74. package/lib/commonjs/ui/screens/NotificationsScreen.js +67 -85
  75. package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
  76. package/lib/commonjs/ui/screens/OxyAuthScreen.js +71 -135
  77. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  78. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +15 -9
  79. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  80. package/lib/commonjs/ui/screens/PreferencesScreen.js +65 -83
  81. package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
  82. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +378 -1023
  83. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  84. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +294 -242
  85. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  86. package/lib/commonjs/ui/screens/ProfileScreen.js +192 -305
  87. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  88. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +57 -97
  89. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  90. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +41 -41
  91. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  92. package/lib/commonjs/ui/screens/UserLinksScreen.js +17 -24
  93. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  94. package/lib/commonjs/ui/screens/UserListScreen.js +83 -214
  95. package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
  96. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +115 -77
  97. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  98. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +70 -57
  99. package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  100. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +136 -332
  101. package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  102. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +47 -137
  103. package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  104. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +182 -115
  105. package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  106. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +138 -214
  107. package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  108. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +54 -92
  109. package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  110. package/lib/commonjs/ui/utils/activeAuthuser.js +15 -9
  111. package/lib/commonjs/ui/utils/activeAuthuser.js.map +1 -1
  112. package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
  113. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
  114. package/lib/module/index.js.map +1 -1
  115. package/lib/module/ui/components/AccountMenu.js +10 -6
  116. package/lib/module/ui/components/AccountMenu.js.map +1 -1
  117. package/lib/module/ui/components/AnotherDeviceQR.js +50 -56
  118. package/lib/module/ui/components/AnotherDeviceQR.js.map +1 -1
  119. package/lib/module/ui/components/BottomSheetRouter.js +2 -1
  120. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  121. package/lib/module/ui/components/FollowButton.js +18 -5
  122. package/lib/module/ui/components/FollowButton.js.map +1 -1
  123. package/lib/module/ui/components/OxyProvider.js +23 -7
  124. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  125. package/lib/module/ui/components/SignInModal.js +20 -1
  126. package/lib/module/ui/components/SignInModal.js.map +1 -1
  127. package/lib/module/ui/components/fileManagement/FileViewer.js +19 -9
  128. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  129. package/lib/module/ui/components/fileManagement/UploadPreview.js +4 -2
  130. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  131. package/lib/module/ui/context/OxyContext.js +154 -20
  132. package/lib/module/ui/context/OxyContext.js.map +1 -1
  133. package/lib/module/ui/context/hooks/useAuthOperations.js +6 -17
  134. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  135. package/lib/module/ui/hooks/mutations/mutationFactory.js +5 -5
  136. package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
  137. package/lib/module/ui/hooks/mutations/useAccountMutations.js +38 -38
  138. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  139. package/lib/module/ui/hooks/mutations/useServicesMutations.js +2 -2
  140. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  141. package/lib/module/ui/hooks/queries/queryKeys.js +3 -3
  142. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
  143. package/lib/module/ui/hooks/queries/useAccountQueries.js +1 -1
  144. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  145. package/lib/module/ui/hooks/queries/usePaymentQueries.js +16 -12
  146. package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
  147. package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -6
  148. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  149. package/lib/module/ui/hooks/queryClient.js +6 -5
  150. package/lib/module/ui/hooks/queryClient.js.map +1 -1
  151. package/lib/module/ui/hooks/useOxyAuthSession.js +40 -2
  152. package/lib/module/ui/hooks/useOxyAuthSession.js.map +1 -1
  153. package/lib/module/ui/hooks/useProfileEditing.js +21 -0
  154. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  155. package/lib/module/ui/hooks/useSessionManagement.js +4 -3
  156. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  157. package/lib/module/ui/screens/AccountVerificationScreen.js +101 -109
  158. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  159. package/lib/module/ui/screens/AppInfoScreen.js +228 -275
  160. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  161. package/lib/module/ui/screens/AvatarCropScreen.js +10 -4
  162. package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
  163. package/lib/module/ui/screens/ConnectedAppsScreen.js +19 -39
  164. package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
  165. package/lib/module/ui/screens/CreateManagedAccountScreen.js +90 -202
  166. package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
  167. package/lib/module/ui/screens/EditProfileFieldScreen.js +77 -205
  168. package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
  169. package/lib/module/ui/screens/FAQScreen.js +55 -207
  170. package/lib/module/ui/screens/FAQScreen.js.map +1 -1
  171. package/lib/module/ui/screens/FeedbackScreen.js +301 -350
  172. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  173. package/lib/module/ui/screens/FileManagementScreen.js +20 -20
  174. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  175. package/lib/module/ui/screens/HelpSupportScreen.js +78 -90
  176. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  177. package/lib/module/ui/screens/HistoryViewScreen.js +44 -59
  178. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  179. package/lib/module/ui/screens/LanguageSelectorScreen.js +68 -91
  180. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  181. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +75 -177
  182. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  183. package/lib/module/ui/screens/LegalDocumentsScreen.js +116 -108
  184. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  185. package/lib/module/ui/screens/ManageAccountScreen.js +52 -112
  186. package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
  187. package/lib/module/ui/screens/NotificationsScreen.js +68 -86
  188. package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
  189. package/lib/module/ui/screens/OxyAuthScreen.js +69 -134
  190. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
  191. package/lib/module/ui/screens/PaymentGatewayScreen.js +16 -10
  192. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  193. package/lib/module/ui/screens/PreferencesScreen.js +66 -84
  194. package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
  195. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +366 -1012
  196. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  197. package/lib/module/ui/screens/PrivacySettingsScreen.js +295 -243
  198. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  199. package/lib/module/ui/screens/ProfileScreen.js +189 -302
  200. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  201. package/lib/module/ui/screens/SavesCollectionsScreen.js +58 -98
  202. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  203. package/lib/module/ui/screens/SearchSettingsScreen.js +42 -42
  204. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  205. package/lib/module/ui/screens/UserLinksScreen.js +18 -25
  206. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  207. package/lib/module/ui/screens/UserListScreen.js +81 -212
  208. package/lib/module/ui/screens/UserListScreen.js.map +1 -1
  209. package/lib/module/ui/screens/WelcomeNewUserScreen.js +114 -76
  210. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  211. package/lib/module/ui/screens/trust/TrustAboutScreen.js +69 -57
  212. package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
  213. package/lib/module/ui/screens/trust/TrustCenterScreen.js +135 -332
  214. package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
  215. package/lib/module/ui/screens/trust/TrustFAQScreen.js +48 -138
  216. package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
  217. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +184 -117
  218. package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
  219. package/lib/module/ui/screens/trust/TrustRewardsScreen.js +132 -208
  220. package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
  221. package/lib/module/ui/screens/trust/TrustRulesScreen.js +58 -94
  222. package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
  223. package/lib/module/ui/utils/activeAuthuser.js +15 -9
  224. package/lib/module/ui/utils/activeAuthuser.js.map +1 -1
  225. package/lib/module/ui/utils/avatarUtils.js +1 -1
  226. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  227. package/lib/typescript/commonjs/index.d.ts +1 -0
  228. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts +2 -0
  230. package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts +12 -2
  232. package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +3 -2
  236. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
  239. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +34 -0
  241. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +3 -0
  244. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +3 -3
  246. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts +22 -0
  250. package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +3 -0
  252. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +2 -1
  254. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  287. package/lib/typescript/commonjs/ui/utils/activeAuthuser.d.ts.map +1 -1
  288. package/lib/typescript/module/index.d.ts +1 -0
  289. package/lib/typescript/module/index.d.ts.map +1 -1
  290. package/lib/typescript/module/ui/components/AccountMenu.d.ts +2 -0
  291. package/lib/typescript/module/ui/components/AccountMenu.d.ts.map +1 -1
  292. package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts +12 -2
  293. package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts.map +1 -1
  294. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
  295. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
  296. package/lib/typescript/module/ui/components/OxyProvider.d.ts +3 -2
  297. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  298. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  299. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
  300. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
  301. package/lib/typescript/module/ui/context/OxyContext.d.ts +34 -0
  302. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
  303. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
  304. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +3 -0
  305. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
  306. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +3 -3
  307. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
  308. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
  309. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
  310. package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts +22 -0
  311. package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
  312. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +3 -0
  313. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
  314. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +2 -1
  315. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
  316. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
  317. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  318. package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
  319. package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
  320. package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
  321. package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
  322. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
  323. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
  324. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  325. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
  326. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
  327. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  328. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
  329. package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
  330. package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
  331. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
  332. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  333. package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
  334. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
  335. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
  336. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
  337. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  338. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
  339. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  340. package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
  341. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
  342. package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
  343. package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
  344. package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
  345. package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
  346. package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
  347. package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
  348. package/lib/typescript/module/ui/utils/activeAuthuser.d.ts.map +1 -1
  349. package/lib/typescript/types/expo-haptics.d.ts +42 -0
  350. package/package.json +24 -31
  351. package/src/index.ts +1 -0
  352. package/src/types/expo-haptics.d.ts +42 -0
  353. package/src/ui/components/AccountMenu.tsx +11 -5
  354. package/src/ui/components/AnotherDeviceQR.tsx +53 -45
  355. package/src/ui/components/BottomSheetRouter.tsx +2 -1
  356. package/src/ui/components/FollowButton.tsx +24 -5
  357. package/src/ui/components/OxyProvider.tsx +22 -8
  358. package/src/ui/components/SignInModal.tsx +21 -2
  359. package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
  360. package/src/ui/components/fileManagement/FileViewer.tsx +9 -9
  361. package/src/ui/components/fileManagement/UploadPreview.tsx +2 -2
  362. package/src/ui/context/OxyContext.tsx +178 -21
  363. package/src/ui/context/hooks/useAuthOperations.ts +6 -17
  364. package/src/ui/hooks/mutations/mutationFactory.ts +5 -5
  365. package/src/ui/hooks/mutations/useAccountMutations.ts +38 -38
  366. package/src/ui/hooks/mutations/useServicesMutations.ts +2 -2
  367. package/src/ui/hooks/queries/queryKeys.ts +6 -3
  368. package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
  369. package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
  370. package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
  371. package/src/ui/hooks/queryClient.ts +5 -5
  372. package/src/ui/hooks/useOxyAuthSession.ts +76 -2
  373. package/src/ui/hooks/useProfileEditing.ts +24 -0
  374. package/src/ui/hooks/useSessionManagement.ts +9 -6
  375. package/src/ui/screens/AccountVerificationScreen.tsx +101 -113
  376. package/src/ui/screens/AppInfoScreen.tsx +200 -238
  377. package/src/ui/screens/AvatarCropScreen.tsx +17 -4
  378. package/src/ui/screens/ConnectedAppsScreen.tsx +16 -34
  379. package/src/ui/screens/CreateManagedAccountScreen.tsx +94 -170
  380. package/src/ui/screens/EditProfileFieldScreen.tsx +77 -190
  381. package/src/ui/screens/FAQScreen.tsx +77 -208
  382. package/src/ui/screens/FeedbackScreen.tsx +330 -239
  383. package/src/ui/screens/FileManagementScreen.tsx +20 -20
  384. package/src/ui/screens/HelpSupportScreen.tsx +67 -82
  385. package/src/ui/screens/HistoryViewScreen.tsx +32 -38
  386. package/src/ui/screens/LanguageSelectorScreen.tsx +79 -93
  387. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +81 -164
  388. package/src/ui/screens/LegalDocumentsScreen.tsx +184 -123
  389. package/src/ui/screens/ManageAccountScreen.tsx +48 -114
  390. package/src/ui/screens/NotificationsScreen.tsx +107 -106
  391. package/src/ui/screens/OxyAuthScreen.tsx +76 -109
  392. package/src/ui/screens/PaymentGatewayScreen.tsx +16 -7
  393. package/src/ui/screens/PreferencesScreen.tsx +96 -116
  394. package/src/ui/screens/PremiumSubscriptionScreen.tsx +419 -872
  395. package/src/ui/screens/PrivacySettingsScreen.tsx +203 -185
  396. package/src/ui/screens/ProfileScreen.tsx +158 -200
  397. package/src/ui/screens/SavesCollectionsScreen.tsx +78 -125
  398. package/src/ui/screens/SearchSettingsScreen.tsx +52 -41
  399. package/src/ui/screens/UserLinksScreen.tsx +18 -25
  400. package/src/ui/screens/UserListScreen.tsx +95 -188
  401. package/src/ui/screens/WelcomeNewUserScreen.tsx +109 -36
  402. package/src/ui/screens/trust/TrustAboutScreen.tsx +52 -41
  403. package/src/ui/screens/trust/TrustCenterScreen.tsx +184 -222
  404. package/src/ui/screens/trust/TrustFAQScreen.tsx +64 -124
  405. package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +190 -67
  406. package/src/ui/screens/trust/TrustRewardsScreen.tsx +147 -182
  407. package/src/ui/screens/trust/TrustRulesScreen.tsx +77 -50
  408. package/src/ui/utils/activeAuthuser.ts +15 -9
  409. package/src/ui/utils/avatarUtils.ts +1 -1
  410. package/lib/commonjs/ui/components/feedback/FormInput.js +0 -72
  411. package/lib/commonjs/ui/components/feedback/FormInput.js.map +0 -1
  412. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -261
  413. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
  414. package/lib/module/ui/components/feedback/FormInput.js +0 -67
  415. package/lib/module/ui/components/feedback/FormInput.js.map +0 -1
  416. package/lib/module/ui/components/feedback/feedbackStyles.js +0 -256
  417. package/lib/module/ui/components/feedback/feedbackStyles.js.map +0 -1
  418. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +0 -20
  419. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +0 -1
  420. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -279
  421. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
  422. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +0 -20
  423. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +0 -1
  424. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -279
  425. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
  426. package/src/ui/components/feedback/FormInput.tsx +0 -84
  427. package/src/ui/components/feedback/feedbackStyles.ts +0 -246
@@ -7,19 +7,22 @@ exports.default = void 0;
7
7
  var _react = require("react");
8
8
  var _reactNative = require("react-native");
9
9
  var _vectorIcons = require("@expo/vector-icons");
10
- var _useI18n = require("../../hooks/useI18n.js");
10
+ var _chip = require("@oxyhq/bloom/chip");
11
11
  var _theme = require("@oxyhq/bloom/theme");
12
- var _useColorScheme = require("../../hooks/useColorScheme.js");
13
- var _theme2 = require("../../constants/theme.js");
14
- var _core = require("@oxyhq/core");
15
- var _colorUtils = require("../../utils/colorUtils.js");
12
+ var _typography = require("@oxyhq/bloom/typography");
13
+ var _settingsList = require("@oxyhq/bloom/settings-list");
14
+ var _Header = _interopRequireDefault(require("../../components/Header.js"));
15
+ var _SettingsIcon = require("../../components/SettingsIcon.js");
16
+ var _LoadingState = _interopRequireDefault(require("../../components/LoadingState.js"));
17
+ var _useI18n = require("../../hooks/useI18n.js");
16
18
  var _OxyContext = require("../../context/OxyContext.js");
17
19
  var _trustTier = require("./trustTier.js");
18
20
  var _jsxRuntime = require("react/jsx-runtime");
21
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
19
22
  const TrustCenterScreen = ({
20
- theme,
21
- navigate,
22
- goBack
23
+ onClose,
24
+ goBack,
25
+ navigate
23
26
  }) => {
24
27
  // Use useOxy() hook for OxyContext values
25
28
  const {
@@ -36,20 +39,7 @@ const TrustCenterScreen = ({
36
39
  const [isLoading, setIsLoading] = (0, _react.useState)(true);
37
40
  const [error, setError] = (0, _react.useState)(null);
38
41
  const bloomTheme = (0, _theme.useTheme)();
39
- const colorScheme = (0, _useColorScheme.useColorScheme)();
40
- const normalizedColorScheme = (0, _core.normalizeColorScheme)(colorScheme);
41
- const themeColors = _theme2.Colors[normalizedColorScheme];
42
- // Override primaryColor for Oxy Trust screens (purple instead of blue)
43
- const primaryColor = '#d169e5';
44
- const dangerColor = bloomTheme.colors.error;
45
- const mutedTextColor = bloomTheme.colors.textTertiary;
46
-
47
- // Icon colors from theme
48
- const iconLeaderboard = themeColors.iconPayments;
49
- const iconRules = themeColors.iconSecurity;
50
- const iconAbout = themeColors.iconPayments;
51
- const iconRewards = themeColors.iconStorage;
52
- const iconFAQ = themeColors.iconPersonalInfo;
42
+ const primaryColor = bloomTheme.colors.primary;
53
43
  (0, _react.useEffect)(() => {
54
44
  if (!user) return;
55
45
  setIsLoading(true);
@@ -63,342 +53,156 @@ const TrustCenterScreen = ({
63
53
  }).finally(() => setIsLoading(false));
64
54
  }, [user, oxyServices, t]);
65
55
  const trustTierLabel = (0, _react.useMemo)(() => trustTier ? (0, _trustTier.getTrustTierLabel)(trustTier, t) : null, [trustTier, t]);
56
+ const title = t('trust.center.title') || 'Trust Center';
66
57
  if (!isAuthenticated) {
67
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
68
- style: [styles.container, {
69
- backgroundColor: bloomTheme.colors.background
70
- }],
71
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
72
- style: [styles.message, {
73
- color: bloomTheme.colors.text
74
- }],
75
- children: t('common.status.notSignedIn') || 'Not signed in'
76
- })
58
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
59
+ className: "flex-1 bg-bg",
60
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
61
+ title: title,
62
+ onBack: goBack || onClose,
63
+ elevation: "subtle"
64
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
65
+ style: styles.center,
66
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
67
+ className: "text-text font-medium text-base",
68
+ children: t('common.status.notSignedIn') || 'Not signed in'
69
+ })
70
+ })]
77
71
  });
78
72
  }
79
73
  if (isLoading) {
80
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
81
- style: [styles.container, {
82
- justifyContent: 'center',
83
- backgroundColor: bloomTheme.colors.background
84
- }],
85
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
86
- size: "large",
87
- color: primaryColor
88
- })
74
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
75
+ className: "flex-1 bg-bg",
76
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
77
+ title: title,
78
+ onBack: goBack || onClose,
79
+ elevation: "subtle"
80
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
81
+ style: styles.center,
82
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_LoadingState.default, {
83
+ color: primaryColor
84
+ })
85
+ })]
89
86
  });
90
87
  }
91
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
92
- style: [styles.container, {
93
- backgroundColor: bloomTheme.colors.background
94
- }],
95
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
96
- style: styles.scrollView,
97
- contentContainerStyle: styles.scrollContainer,
88
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
89
+ className: "flex-1 bg-bg",
90
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
91
+ title: title,
92
+ onBack: goBack || onClose,
93
+ elevation: "subtle"
94
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
95
+ className: "flex-1",
96
+ contentContainerClassName: "px-screen-margin pb-space-24",
98
97
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
99
- style: styles.walletHeader,
100
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
101
- style: [styles.reputationAmount, {
98
+ className: "items-center bg-fill-secondary rounded-radius-20 px-space-20 py-space-24 mb-space-16",
99
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.H1, {
100
+ style: {
102
101
  color: primaryColor
103
- }],
102
+ },
104
103
  children: reputationTotal ?? 0
105
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
106
- style: [styles.reputationLabel, {
107
- color: bloomTheme.colors.textTertiary
108
- }],
104
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
105
+ className: "text-text-tertiary text-base mt-space-2 mb-space-12",
109
106
  children: t('trust.center.balance') || 'Reputation Balance'
110
- }), trustTierLabel && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
111
- style: [styles.tierBadge, {
112
- borderColor: primaryColor
113
- }],
114
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
107
+ }), trustTierLabel ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_chip.Chip, {
108
+ variant: "soft",
109
+ color: "primary",
110
+ startIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
115
111
  name: "shield-checkmark-outline",
116
112
  size: 14,
117
113
  color: primaryColor
118
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
119
- style: [styles.tierBadgeText, {
120
- color: primaryColor
121
- }],
122
- children: trustTierLabel
123
- })]
124
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
125
- style: styles.actionContainer,
126
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
127
- style: styles.actionRow,
128
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
129
- style: styles.actionIconWrapper,
130
- onPress: () => navigate?.('TrustLeaderboard'),
131
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
132
- style: [styles.actionIcon, {
133
- backgroundColor: iconLeaderboard
134
- }],
135
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
136
- name: "trophy-outline",
137
- size: 28,
138
- color: (0, _colorUtils.darkenColor)(iconLeaderboard)
139
- })
140
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
141
- style: [styles.actionLabel, {
142
- color: mutedTextColor
143
- }],
144
- children: t('trust.center.actions.leaderboard') || 'Leaderboard'
145
- })]
146
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
147
- style: styles.actionIconWrapper,
148
- onPress: () => navigate?.('TrustRules'),
149
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
150
- style: [styles.actionIcon, {
151
- backgroundColor: iconRules
152
- }],
153
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
154
- name: "document-text-outline",
155
- size: 28,
156
- color: (0, _colorUtils.darkenColor)(iconRules)
157
- })
158
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
159
- style: [styles.actionLabel, {
160
- color: mutedTextColor
161
- }],
162
- children: t('trust.center.actions.rules') || 'Rules'
163
- })]
164
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
165
- style: styles.actionIconWrapper,
166
- onPress: () => navigate?.('AboutTrust'),
167
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
168
- style: [styles.actionIcon, {
169
- backgroundColor: iconAbout
170
- }],
171
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
172
- name: "star-outline",
173
- size: 28,
174
- color: (0, _colorUtils.darkenColor)(iconAbout)
175
- })
176
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
177
- style: [styles.actionLabel, {
178
- color: mutedTextColor
179
- }],
180
- children: t('trust.center.actions.about') || 'About'
181
- })]
182
- })]
183
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
184
- style: styles.actionRow,
185
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
186
- style: styles.actionIconWrapper,
187
- onPress: () => navigate?.('TrustRewards'),
188
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
189
- style: [styles.actionIcon, {
190
- backgroundColor: iconRewards
191
- }],
192
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
193
- name: "gift-outline",
194
- size: 28,
195
- color: (0, _colorUtils.darkenColor)(iconRewards)
196
- })
197
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
198
- style: [styles.actionLabel, {
199
- color: mutedTextColor
200
- }],
201
- children: t('trust.center.actions.rewards') || 'Rewards'
202
- })]
203
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
204
- style: styles.actionIconWrapper,
205
- onPress: () => navigate?.('TrustFAQ'),
206
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
207
- style: [styles.actionIcon, {
208
- backgroundColor: iconFAQ
209
- }],
210
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
211
- name: "help-circle-outline",
212
- size: 28,
213
- color: (0, _colorUtils.darkenColor)(iconFAQ)
214
- })
215
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
216
- style: [styles.actionLabel, {
217
- color: mutedTextColor
218
- }],
219
- children: t('trust.center.actions.faq') || 'FAQ'
220
- })]
221
- })]
222
- })]
223
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
224
- style: [styles.infoText, {
225
- color: mutedTextColor
226
- }],
114
+ }),
115
+ children: trustTierLabel
116
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
117
+ className: "text-text-tertiary text-sm text-center mt-space-16",
118
+ style: styles.infoText,
227
119
  children: t('trust.center.info') || 'Reputation can only be earned by positive actions in the Oxy Ecosystem. It cannot be sent or received directly.'
228
120
  })]
229
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
230
- style: [styles.sectionTitle, {
231
- color: bloomTheme.colors.text
232
- }],
233
- children: t('trust.center.history') || 'Reputation History'
234
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
235
- style: styles.historyContainer,
236
- children: transactions.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
237
- style: {
238
- color: bloomTheme.colors.text,
239
- textAlign: 'center',
240
- marginTop: 16
241
- },
242
- children: t('trust.center.noHistory') || 'No reputation history yet.'
243
- }) : transactions.map(entry => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
244
- style: [styles.historyItem, {
245
- borderColor: bloomTheme.colors.border
246
- }],
247
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
248
- style: [styles.historyPoints, {
249
- color: entry.points > 0 ? primaryColor : dangerColor
250
- }],
251
- children: [entry.points > 0 ? '+' : '', entry.points]
252
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
253
- style: [styles.historyDesc, {
254
- color: bloomTheme.colors.text
255
- }],
256
- children: entry.reason || entry.actionType || t('trust.center.noDescription') || 'No description'
257
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
258
- style: styles.historyMetaRow,
259
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
260
- style: [styles.historyCategory, {
261
- color: primaryColor
262
- }],
263
- children: entry.category
264
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
265
- style: [styles.historyDate, {
266
- color: bloomTheme.colors.textTertiary
267
- }],
268
- children: entry.createdAt ? new Date(entry.createdAt).toLocaleString() : ''
269
- })]
270
- })]
121
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_settingsList.SettingsListGroup, {
122
+ title: t('trust.center.actions.title') || 'Explore',
123
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
124
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
125
+ name: "trophy",
126
+ color: bloomTheme.colors.warning
127
+ }),
128
+ title: t('trust.center.actions.leaderboard') || 'Leaderboard',
129
+ onPress: () => navigate?.('TrustLeaderboard')
130
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
131
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
132
+ name: "file-document",
133
+ color: bloomTheme.colors.info
134
+ }),
135
+ title: t('trust.center.actions.rules') || 'Rules',
136
+ onPress: () => navigate?.('TrustRules')
137
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
138
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
139
+ name: "gift",
140
+ color: bloomTheme.colors.success
141
+ }),
142
+ title: t('trust.center.actions.rewards') || 'Rewards',
143
+ onPress: () => navigate?.('TrustRewards')
144
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
145
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
146
+ name: "star",
147
+ color: bloomTheme.colors.primary
148
+ }),
149
+ title: t('trust.center.actions.about') || 'About',
150
+ onPress: () => navigate?.('AboutTrust')
151
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
152
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
153
+ name: "help-circle",
154
+ color: bloomTheme.colors.secondary
155
+ }),
156
+ title: t('trust.center.actions.faq') || 'FAQ',
157
+ onPress: () => navigate?.('TrustFAQ')
158
+ })]
159
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListGroup, {
160
+ title: t('trust.center.history') || 'Reputation History',
161
+ children: transactions.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
162
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
163
+ name: "history",
164
+ color: bloomTheme.colors.textTertiary
165
+ }),
166
+ title: t('trust.center.noHistory') || 'No reputation history yet.',
167
+ showChevron: false,
168
+ disabled: true
169
+ }) : transactions.map(entry => /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
170
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SettingsIcon.SettingsIcon, {
171
+ name: entry.points > 0 ? 'plus-circle' : 'minus-circle',
172
+ color: entry.points > 0 ? bloomTheme.colors.success : bloomTheme.colors.error
173
+ }),
174
+ title: entry.reason || entry.actionType || t('trust.center.noDescription') || 'No description',
175
+ description: `${entry.category}${entry.createdAt ? ` · ${new Date(entry.createdAt).toLocaleString()}` : ''}`,
176
+ rightElement: /*#__PURE__*/(0, _jsxRuntime.jsx)(_chip.Chip, {
177
+ variant: "soft",
178
+ size: "small",
179
+ color: entry.points > 0 ? 'success' : 'error',
180
+ children: `${entry.points > 0 ? '+' : ''}${entry.points}`
181
+ }),
182
+ showChevron: false
271
183
  }, entry.id))
272
- }), error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
184
+ }), error ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
185
+ className: "text-sm text-center mt-space-16",
273
186
  style: {
274
- color: dangerColor,
275
- marginTop: 16,
276
- textAlign: 'center'
187
+ color: bloomTheme.colors.error
277
188
  },
278
189
  children: error
279
- })]
280
- })
190
+ }) : null]
191
+ })]
281
192
  });
282
193
  };
194
+
195
+ // Layout-only styles: flex centering for the empty/loading branches and the
196
+ // info caption's measured max width. No color, spacing, radius, or typography
197
+ // roles live here — those use Bloom token classes.
283
198
  const styles = _reactNative.StyleSheet.create({
284
- container: {
285
- flex: 1
286
- },
287
- scrollView: {
288
- flex: 1
289
- },
290
- scrollContainer: {
291
- padding: 0,
292
- alignItems: 'center'
293
- },
294
- walletHeader: {
199
+ center: {
200
+ flex: 1,
295
201
  alignItems: 'center',
296
- paddingTop: 36,
297
- paddingBottom: 24,
298
- width: '100%',
299
- backgroundColor: 'transparent'
300
- },
301
- reputationLabel: {
302
- fontSize: 16,
303
- marginBottom: 12
304
- },
305
- reputationAmount: {
306
- fontSize: 48,
307
- fontWeight: 'bold',
308
- marginBottom: 4
309
- },
310
- tierBadge: {
311
- flexDirection: 'row',
312
- alignItems: 'center',
313
- gap: 6,
314
- borderWidth: 1,
315
- borderRadius: 999,
316
- paddingHorizontal: 12,
317
- paddingVertical: 5,
318
- marginBottom: 18
319
- },
320
- tierBadgeText: {
321
- fontSize: 13,
322
- fontWeight: '600'
323
- },
324
- actionContainer: {
325
- marginBottom: 18,
326
- gap: 8
327
- },
328
- actionRow: {
329
- flexDirection: 'row',
330
- justifyContent: 'center',
331
- gap: 2
332
- },
333
- actionIconWrapper: {
334
- alignItems: 'center',
335
- width: 72
336
- },
337
- actionIcon: {
338
- width: 56,
339
- height: 56,
340
- borderRadius: 28,
341
- alignItems: 'center',
342
- justifyContent: 'center',
343
- marginBottom: 6
344
- },
345
- actionIconText: {
346
- fontSize: 28
347
- },
348
- actionLabel: {
349
- fontSize: 10
202
+ justifyContent: 'center'
350
203
  },
351
204
  infoText: {
352
- fontSize: 13,
353
- textAlign: 'center',
354
- marginTop: 8,
355
- marginBottom: 8,
356
205
  maxWidth: 320
357
- },
358
- sectionTitle: {
359
- fontSize: 18,
360
- fontWeight: _reactNative.Platform.OS === 'web' ? '600' : undefined,
361
- marginTop: 8,
362
- alignSelf: 'flex-start',
363
- marginLeft: 24
364
- },
365
- historyContainer: {
366
- borderRadius: 15,
367
- overflow: 'hidden',
368
- marginBottom: 20,
369
- width: '100%',
370
- paddingHorizontal: 12
371
- },
372
- historyItem: {
373
- padding: 14,
374
- borderBottomWidth: 1
375
- },
376
- historyPoints: {
377
- fontSize: 16,
378
- fontWeight: '700'
379
- },
380
- historyDesc: {
381
- fontSize: 15,
382
- marginTop: 2
383
- },
384
- historyMetaRow: {
385
- flexDirection: 'row',
386
- alignItems: 'center',
387
- justifyContent: 'space-between',
388
- marginTop: 2
389
- },
390
- historyCategory: {
391
- fontSize: 12,
392
- fontWeight: '600',
393
- textTransform: 'capitalize'
394
- },
395
- historyDate: {
396
- fontSize: 13
397
- },
398
- message: {
399
- fontSize: 16,
400
- textAlign: 'center',
401
- marginTop: 24
402
206
  }
403
207
  });
404
208
  var _default = exports.default = TrustCenterScreen;
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_vectorIcons","_useI18n","_theme","_useColorScheme","_theme2","_core","_colorUtils","_OxyContext","_trustTier","_jsxRuntime","TrustCenterScreen","theme","navigate","goBack","user","oxyServices","isAuthenticated","useOxy","t","useI18n","reputationTotal","setReputationTotal","useState","trustTier","setTrustTier","transactions","setTransactions","isLoading","setIsLoading","error","setError","bloomTheme","useTheme","colorScheme","useColorScheme","normalizedColorScheme","normalizeColorScheme","themeColors","Colors","primaryColor","dangerColor","colors","mutedTextColor","textTertiary","iconLeaderboard","iconPayments","iconRules","iconSecurity","iconAbout","iconRewards","iconStorage","iconFAQ","iconPersonalInfo","useEffect","Promise","all","getReputationBalance","id","getReputationTransactions","then","balance","txns","total","Array","isArray","catch","err","Error","message","finally","trustTierLabel","useMemo","getTrustTierLabel","jsx","View","style","styles","container","backgroundColor","background","children","Text","color","text","justifyContent","ActivityIndicator","size","jsxs","ScrollView","scrollView","contentContainerStyle","scrollContainer","walletHeader","reputationAmount","reputationLabel","tierBadge","borderColor","Ionicons","name","tierBadgeText","actionContainer","actionRow","TouchableOpacity","actionIconWrapper","onPress","actionIcon","darkenColor","actionLabel","infoText","sectionTitle","historyContainer","length","textAlign","marginTop","map","entry","historyItem","border","historyPoints","points","historyDesc","reason","actionType","historyMetaRow","historyCategory","category","historyDate","createdAt","Date","toLocaleString","StyleSheet","create","flex","padding","alignItems","paddingTop","paddingBottom","width","fontSize","marginBottom","fontWeight","flexDirection","gap","borderWidth","borderRadius","paddingHorizontal","paddingVertical","height","actionIconText","maxWidth","Platform","OS","undefined","alignSelf","marginLeft","overflow","borderBottomWidth","textTransform","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustCenterScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,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AQ,EAAE;EACd,CAAC;EACDxC,YAAY,EAAE;IACV6B,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAEU,qBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,KAAK,GAAGC,SAAS;IACrDvC,SAAS,EAAE,CAAC;IACZwC,SAAS,EAAE,YAAY;IACvBC,UAAU,EAAE;EAChB,CAAC;EACD5C,gBAAgB,EAAE;IACdkC,YAAY,EAAE,EAAE;IAChBW,QAAQ,EAAE,QAAQ;IAClBhB,YAAY,EAAE,EAAE;IAChBF,KAAK,EAAE,MAAM;IACbQ,iBAAiB,EAAE;EACvB,CAAC;EACD7B,WAAW,EAAE;IACTiB,OAAO,EAAE,EAAE;IACXuB,iBAAiB,EAAE;EACvB,CAAC;EACDtC,aAAa,EAAE;IACXoB,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE;EAChB,CAAC;EACDpB,WAAW,EAAE;IACTkB,QAAQ,EAAE,EAAE;IACZzB,SAAS,EAAE;EACf,CAAC;EACDU,cAAc,EAAE;IACZkB,aAAa,EAAE,KAAK;IACpBP,UAAU,EAAE,QAAQ;IACpBlD,cAAc,EAAE,eAAe;IAC/B6B,SAAS,EAAE;EACf,CAAC;EACDW,eAAe,EAAE;IACbc,QAAQ,EAAE,EAAE;IACZE,UAAU,EAAE,KAAK;IACjBiB,aAAa,EAAE;EACnB,CAAC;EACD/B,WAAW,EAAE;IACTY,QAAQ,EAAE;EACd,CAAC;EAEDtE,OAAO,EAAE;IACLsE,QAAQ,EAAE,EAAE;IACZ1B,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAAC,IAAA6C,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEYtJ,iBAAiB","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_vectorIcons","_chip","_theme","_typography","_settingsList","_Header","_interopRequireDefault","_SettingsIcon","_LoadingState","_useI18n","_OxyContext","_trustTier","_jsxRuntime","e","__esModule","default","TrustCenterScreen","onClose","goBack","navigate","user","oxyServices","isAuthenticated","useOxy","t","useI18n","reputationTotal","setReputationTotal","useState","trustTier","setTrustTier","transactions","setTransactions","isLoading","setIsLoading","error","setError","bloomTheme","useTheme","primaryColor","colors","primary","useEffect","Promise","all","getReputationBalance","id","getReputationTransactions","then","balance","txns","total","Array","isArray","catch","err","Error","message","finally","trustTierLabel","useMemo","getTrustTierLabel","title","jsxs","View","className","children","jsx","onBack","elevation","style","styles","center","Text","color","ScrollView","contentContainerClassName","H1","Chip","variant","startIcon","Ionicons","name","size","infoText","SettingsListGroup","SettingsListItem","icon","SettingsIcon","warning","onPress","info","success","secondary","length","textTertiary","showChevron","disabled","map","entry","points","reason","actionType","description","category","createdAt","Date","toLocaleString","rightElement","StyleSheet","create","flex","alignItems","justifyContent","maxWidth","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/screens/trust/TrustCenterScreen.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAEA,IAAAO,OAAA,GAAAC,sBAAA,CAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAF,sBAAA,CAAAR,OAAA;AACA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,WAAA,GAAAZ,OAAA;AACA,IAAAa,UAAA,GAAAb,OAAA;AAAgD,IAAAc,WAAA,GAAAd,OAAA;AAAA,SAAAQ,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhD,MAAMG,iBAA4C,GAAGA,CAAC;EAClDC,OAAO;EACPC,MAAM;EACNC;A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