@oxyhq/services 11.0.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 +8 -3
  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
@@ -1,48 +1,59 @@
1
1
  "use strict";
2
2
 
3
3
  import React, { useState, useCallback } from 'react';
4
- import { View, StyleSheet, ScrollView, Linking } from 'react-native';
4
+ import { View, ScrollView, Linking } from 'react-native';
5
5
  import { toast } from '@oxyhq/bloom';
6
+ import { useTheme } from '@oxyhq/bloom/theme';
7
+ import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
8
+ import { logger } from '@oxyhq/core';
6
9
  import Header from "../components/Header.js";
7
10
  import LoadingState from "../components/LoadingState.js";
8
- import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
9
11
  import { SettingsIcon } from "../components/SettingsIcon.js";
10
12
  import { useI18n } from "../hooks/useI18n.js";
11
- import { useTheme } from '@oxyhq/bloom/theme';
12
- import { useColorScheme } from "../hooks/useColorScheme.js";
13
- import { Colors } from "../constants/theme.js";
14
- import { normalizeColorScheme } from '@oxyhq/core';
13
+
14
+ /** Component name used in `logger` context for filtered diagnostics. */
15
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
+ const LOG_COMPONENT = 'LegalDocumentsScreen';
17
+
18
+ /** Policy URLs from the Oxy Transparency Center. */
19
+ const POLICY_URLS = {
20
+ privacy: 'https://oxy.so/company/transparency/policies/privacy',
21
+ terms: 'https://oxy.so/company/transparency/policies/terms-of-service',
22
+ community: 'https://oxy.so/company/transparency/policies/community-guidelines',
23
+ dataRetention: 'https://oxy.so/company/transparency/policies/data-retention',
24
+ contentModeration: 'https://oxy.so/company/transparency/policies/content-moderation',
25
+ childSafety: 'https://oxy.so/company/transparency/policies/child-safety',
26
+ cookie: 'https://oxy.so/company/transparency/policies/cookies'
27
+ };
28
+ /**
29
+ * Map a deep-link `initialStep` to the policy it should auto-open. `null` means
30
+ * "show the full list" (no deep link). Kept as an explicit lookup so the
31
+ * deep-link contract is obvious at a glance.
32
+ */
33
+ const STEP_TO_DOCUMENT = {
34
+ 1: 'privacy',
35
+ 2: 'terms',
36
+ 3: 'community',
37
+ 4: 'dataRetention',
38
+ 5: 'contentModeration',
39
+ 6: 'childSafety',
40
+ 7: 'cookie'
41
+ };
16
42
  const LegalDocumentsScreen = ({
17
43
  onClose,
18
- theme,
19
44
  goBack,
20
45
  initialStep
21
46
  }) => {
22
47
  const {
23
48
  t
24
49
  } = useI18n();
25
- const [loading, setLoading] = useState(false);
26
50
  const bloomTheme = useTheme();
27
- const colorScheme = useColorScheme();
28
- const normalizedColorScheme = normalizeColorScheme(colorScheme);
29
- const themeColors = Colors[normalizedColorScheme];
30
-
31
- // Policy URLs from Oxy Transparency Center
32
- const POLICY_URLS = {
33
- privacy: 'https://oxy.so/company/transparency/policies/privacy',
34
- terms: 'https://oxy.so/company/transparency/policies/terms-of-service',
35
- community: 'https://oxy.so/company/transparency/policies/community-guidelines',
36
- dataRetention: 'https://oxy.so/company/transparency/policies/data-retention',
37
- contentModeration: 'https://oxy.so/company/transparency/policies/content-moderation',
38
- childSafety: 'https://oxy.so/company/transparency/policies/child-safety',
39
- cookie: 'https://oxy.so/company/transparency/policies/cookies'
40
- };
51
+ const [loading, setLoading] = useState(false);
41
52
 
42
- // Determine which document to show based on initialStep
43
- const documentType = initialStep === 1 ? 'privacy' : initialStep === 2 ? 'terms' : initialStep === 3 ? 'community' : initialStep === 4 ? 'dataRetention' : initialStep === 5 ? 'contentModeration' : initialStep === 6 ? 'childSafety' : initialStep === 7 ? 'cookie' : null;
53
+ // Determine which document to auto-open based on the deep-link step.
54
+ const documentType = typeof initialStep === 'number' ? STEP_TO_DOCUMENT[initialStep] ?? null : null;
44
55
 
45
- // Generic handler to open any policy URL
56
+ // Generic handler to open any policy URL via the system browser.
46
57
  const handleOpenPolicy = useCallback(policyKey => {
47
58
  return async () => {
48
59
  try {
@@ -55,9 +66,9 @@ const LegalDocumentsScreen = ({
55
66
  toast.error(t('legal.openError') || 'Failed to open document');
56
67
  }
57
68
  } catch (error) {
58
- if (__DEV__) {
59
- console.error(`Failed to open ${policyKey} policy:`, error);
60
- }
69
+ logger.error(`Failed to open ${policyKey} policy`, error, {
70
+ component: LOG_COMPONENT
71
+ });
61
72
  toast.error(t('legal.openError') || 'Failed to open document');
62
73
  } finally {
63
74
  setLoading(false);
@@ -65,14 +76,14 @@ const LegalDocumentsScreen = ({
65
76
  };
66
77
  }, [t]);
67
78
 
68
- // If a specific document type is requested, open it directly
79
+ // If a specific document type is requested, open it directly.
69
80
  React.useEffect(() => {
70
81
  if (documentType) {
71
82
  handleOpenPolicy(documentType)();
72
83
  }
73
84
  }, [documentType, handleOpenPolicy]);
74
85
 
75
- // Get policy title for display
86
+ // Localized title for a policy key (used for the deep-link header).
76
87
  const getPolicyTitle = key => {
77
88
  const titles = {
78
89
  privacy: t('legal.privacyPolicy.title') || 'Privacy Policy',
@@ -83,15 +94,13 @@ const LegalDocumentsScreen = ({
83
94
  childSafety: t('legal.childSafety.title') || 'Child Safety Policy',
84
95
  cookie: t('legal.cookiePolicy.title') || 'Cookie Policy'
85
96
  };
86
- return titles[key] || 'Document';
97
+ return titles[key];
87
98
  };
88
99
 
89
- // If a specific document type is requested, show loading state while opening
100
+ // Deep-link entry: show loading state while the document opens.
90
101
  if (documentType) {
91
102
  return /*#__PURE__*/_jsxs(View, {
92
- style: [styles.container, {
93
- backgroundColor: bloomTheme.colors.background
94
- }],
103
+ className: "flex-1 bg-bg",
95
104
  children: [/*#__PURE__*/_jsx(Header, {
96
105
  title: getPolicyTitle(documentType),
97
106
  onBack: goBack || onClose,
@@ -104,89 +113,88 @@ const LegalDocumentsScreen = ({
104
113
  });
105
114
  }
106
115
 
107
- // Default: show both options
116
+ // Default: show the full list of policies & guidelines.
108
117
  return /*#__PURE__*/_jsxs(View, {
109
- style: [styles.container, {
110
- backgroundColor: bloomTheme.colors.background
111
- }],
118
+ className: "flex-1 bg-bg",
112
119
  children: [/*#__PURE__*/_jsx(Header, {
113
120
  title: t('legal.title') || 'Legal Documents',
114
121
  onBack: goBack || onClose,
115
122
  variant: "minimal",
116
123
  elevation: "subtle"
117
124
  }), /*#__PURE__*/_jsx(ScrollView, {
118
- style: styles.content,
119
- children: /*#__PURE__*/_jsxs(SettingsListGroup, {
120
- title: t('legal.policies') || 'Policies & Guidelines',
121
- children: [/*#__PURE__*/_jsx(SettingsListItem, {
122
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
123
- name: "shield-check",
124
- color: themeColors.iconPersonalInfo
125
- }),
126
- title: t('legal.privacyPolicy.title') || 'Privacy Policy',
127
- description: t('legal.privacyPolicy.subtitle') || 'How we handle your data',
128
- onPress: handleOpenPolicy('privacy')
129
- }), /*#__PURE__*/_jsx(SettingsListItem, {
130
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
131
- name: "file-document",
132
- color: themeColors.iconSecurity
133
- }),
134
- title: t('legal.termsOfService.title') || 'Terms of Service',
135
- description: t('legal.termsOfService.subtitle') || 'Terms and conditions of use',
136
- onPress: handleOpenPolicy('terms')
137
- }), /*#__PURE__*/_jsx(SettingsListItem, {
138
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
139
- name: "account-group",
140
- color: themeColors.iconData
141
- }),
142
- title: t('legal.communityGuidelines.title') || 'Community Guidelines',
143
- description: t('legal.communityGuidelines.subtitle') || 'Rules and expectations for our community',
144
- onPress: handleOpenPolicy('community')
145
- }), /*#__PURE__*/_jsx(SettingsListItem, {
146
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
147
- name: "clock",
148
- color: themeColors.iconStorage
149
- }),
150
- title: t('legal.dataRetention.title') || 'Data Retention Policy',
151
- description: t('legal.dataRetention.subtitle') || 'How long we keep your data',
152
- onPress: handleOpenPolicy('dataRetention')
153
- }), /*#__PURE__*/_jsx(SettingsListItem, {
154
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
155
- name: "eye",
156
- color: themeColors.iconSharing
157
- }),
158
- title: t('legal.contentModeration.title') || 'Content Moderation Policy',
159
- description: t('legal.contentModeration.subtitle') || 'How we moderate content',
160
- onPress: handleOpenPolicy('contentModeration')
161
- }), /*#__PURE__*/_jsx(SettingsListItem, {
162
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
163
- name: "heart",
164
- color: bloomTheme.colors.error
165
- }),
166
- title: t('legal.childSafety.title') || 'Child Safety Policy',
167
- description: t('legal.childSafety.subtitle') || 'Protecting minors on our platform',
168
- onPress: handleOpenPolicy('childSafety')
169
- }), /*#__PURE__*/_jsx(SettingsListItem, {
170
- icon: /*#__PURE__*/_jsx(SettingsIcon, {
171
- name: "cookie",
172
- color: bloomTheme.colors.textTertiary
173
- }),
174
- title: t('legal.cookiePolicy.title') || 'Cookie Policy',
175
- description: t('legal.cookiePolicy.subtitle') || 'How we use cookies and similar technologies',
176
- onPress: handleOpenPolicy('cookie')
177
- })]
125
+ className: "flex-1",
126
+ children: /*#__PURE__*/_jsx(View, {
127
+ className: "px-screen-margin py-space-16",
128
+ children: /*#__PURE__*/_jsxs(SettingsListGroup, {
129
+ title: t('legal.policies') || 'Policies & Guidelines',
130
+ children: [/*#__PURE__*/_jsx(SettingsListItem, {
131
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
132
+ name: "shield-check",
133
+ color: bloomTheme.colors.success
134
+ }),
135
+ title: t('legal.privacyPolicy.title') || 'Privacy Policy',
136
+ description: t('legal.privacyPolicy.subtitle') || 'How we handle your data',
137
+ onPress: handleOpenPolicy('privacy'),
138
+ disabled: loading
139
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
140
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
141
+ name: "file-document",
142
+ color: bloomTheme.colors.primary
143
+ }),
144
+ title: t('legal.termsOfService.title') || 'Terms of Service',
145
+ description: t('legal.termsOfService.subtitle') || 'Terms and conditions of use',
146
+ onPress: handleOpenPolicy('terms'),
147
+ disabled: loading
148
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
149
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
150
+ name: "account-group",
151
+ color: bloomTheme.colors.secondary
152
+ }),
153
+ title: t('legal.communityGuidelines.title') || 'Community Guidelines',
154
+ description: t('legal.communityGuidelines.subtitle') || 'Rules and expectations for our community',
155
+ onPress: handleOpenPolicy('community'),
156
+ disabled: loading
157
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
158
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
159
+ name: "clock",
160
+ color: bloomTheme.colors.warning
161
+ }),
162
+ title: t('legal.dataRetention.title') || 'Data Retention Policy',
163
+ description: t('legal.dataRetention.subtitle') || 'How long we keep your data',
164
+ onPress: handleOpenPolicy('dataRetention'),
165
+ disabled: loading
166
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
167
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
168
+ name: "eye",
169
+ color: bloomTheme.colors.info
170
+ }),
171
+ title: t('legal.contentModeration.title') || 'Content Moderation Policy',
172
+ description: t('legal.contentModeration.subtitle') || 'How we moderate content',
173
+ onPress: handleOpenPolicy('contentModeration'),
174
+ disabled: loading
175
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
176
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
177
+ name: "heart",
178
+ color: bloomTheme.colors.error
179
+ }),
180
+ title: t('legal.childSafety.title') || 'Child Safety Policy',
181
+ description: t('legal.childSafety.subtitle') || 'Protecting minors on our platform',
182
+ onPress: handleOpenPolicy('childSafety'),
183
+ disabled: loading
184
+ }), /*#__PURE__*/_jsx(SettingsListItem, {
185
+ icon: /*#__PURE__*/_jsx(SettingsIcon, {
186
+ name: "cookie",
187
+ color: bloomTheme.colors.textTertiary
188
+ }),
189
+ title: t('legal.cookiePolicy.title') || 'Cookie Policy',
190
+ description: t('legal.cookiePolicy.subtitle') || 'How we use cookies and similar technologies',
191
+ onPress: handleOpenPolicy('cookie'),
192
+ disabled: loading
193
+ })]
194
+ })
178
195
  })
179
196
  })]
180
197
  });
181
198
  };
182
- const styles = StyleSheet.create({
183
- container: {
184
- flex: 1
185
- },
186
- content: {
187
- flex: 1,
188
- padding: 16
189
- }
190
- });
191
199
  export default /*#__PURE__*/React.memo(LegalDocumentsScreen);
192
200
  //# sourceMappingURL=LegalDocumentsScreen.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","useState","useCallback","View","StyleSheet","ScrollView","Linking","toast","Header","LoadingState","SettingsListGroup","SettingsListItem","SettingsIcon","useI18n","useTheme","useColorScheme","Colors","normalizeColorScheme","jsx","_jsx","jsxs","_jsxs","LegalDocumentsScreen","onClose","theme","goBack","initialStep","t","loading","setLoading","bloomTheme","colorScheme","normalizedColorScheme","themeColors","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","documentType","handleOpenPolicy","policyKey","url","canOpen","canOpenURL","openURL","error","__DEV__","console","useEffect","getPolicyTitle","key","titles","style","styles","container","backgroundColor","colors","background","children","title","onBack","variant","elevation","message","color","text","content","icon","name","iconPersonalInfo","description","onPress","iconSecurity","iconData","iconStorage","iconSharing","textTertiary","create","flex","padding","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LegalDocumentsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SACIC,IAAI,EACJC,UAAU,EACVC,UAAU,EACVC,OAAO,QACJ,cAAc;AAErB,SAASC,KAAK,QAAQ,cAAc;AACpC,OAAOC,MAAM,MAAM,yBAAsB;AACzC,OAAOC,YAAY,MAAM,+BAA4B;AACrD,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,YAAY,QAAQ,+BAA4B;AACzD,SAASC,OAAO,QAAQ,qBAAkB;AAC1C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,cAAc,QAAQ,4BAAyB;AACxD,SAASC,MAAM,QAAQ,uBAAoB;AAC3C,SAASC,oBAAoB,QAAQ,aAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEnD,MAAMC,oBAA+C,GAAGA,CAAC;EACrDC,OAAO;EACPC,KAAK;EACLC,MAAM;EACNC;AACJ,CAAC,KAAK;EACF,MAAM;IAAEC;EAAE,CAAC,GAAGd,OAAO,CAAC,CAAC;EACvB,MAAM,CAACe,OAAO,EAAEC,UAAU,CAAC,GAAG5B,QAAQ,CAAC,KAAK,CAAC;EAC7C,MAAM6B,UAAU,GAAGhB,QAAQ,CAAC,CAAC;EAC7B,MAAMiB,WAAW,GAAGhB,cAAc,CAAC,CAAC;EACpC,MAAMiB,qBAAqB,GAAGf,oBAAoB,CAACc,WAAW,CAAC;EAC/D,MAAME,WAAW,GAAGjB,MAAM,CAACgB,qBAAqB,CAAC;;EAEjD;EACA,MAAME,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;YAACJ,KAAK,EAAEtC,UAAU,CAAC8B,MAAM,CAACX;UAAM,CAAE,CAAE;UACpEc,KAAK,EAAEpC,CAAC,CAAC,yBAAyB,CAAC,IAAI,qBAAsB;UAC7D+C,WAAW,EAAE/C,CAAC,CAAC,4BAA4B,CAAC,IAAI,mCAAoC;UACpFgD,OAAO,EAAEhC,gBAAgB,CAAC,aAAa;QAAE,CAC5C,CAAC,eACFxB,IAAA,CAACR,gBAAgB;UACb4D,IAAI,eAAEpD,IAAA,CAACP,YAAY;YAAC4D,IAAI,EAAC,QAAQ;YAACJ,KAAK,EAAEtC,UAAU,CAAC8B,MAAM,CAACoB;UAAa,CAAE,CAAE;UAC5EjB,KAAK,EAAEpC,CAAC,CAAC,0BAA0B,CAAC,IAAI,eAAgB;UACxD+C,WAAW,EAAE/C,CAAC,CAAC,6BAA6B,CAAC,IAAI,6CAA8C;UAC/FgD,OAAO,EAAEhC,gBAAgB,CAAC,QAAQ;QAAE,CACvC,CAAC;MAAA,CACa;IAAC,CACZ,CAAC;EAAA,CACX,CAAC;AAEf,CAAC;AAED,MAAMc,MAAM,GAAGrD,UAAU,CAAC6E,MAAM,CAAC;EAC7BvB,SAAS,EAAE;IACPwB,IAAI,EAAE;EACV,CAAC;EACDZ,OAAO,EAAE;IACLY,IAAI,EAAE,CAAC;IACPC,OAAO,EAAE;EACb;AACJ,CAAC,CAAC;AAEF,4BAAenF,KAAK,CAACoF,IAAI,CAAC9D,oBAAoB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useState","useCallback","View","ScrollView","Linking","toast","useTheme","SettingsListGroup","SettingsListItem","logger","Header","LoadingState","SettingsIcon","useI18n","jsx","_jsx","jsxs","_jsxs","LOG_COMPONENT","POLICY_URLS","privacy","terms","community","dataRetention","contentModeration","childSafety","cookie","STEP_TO_DOCUMENT","LegalDocumentsScreen","onClose","goBack","initialStep","t","bloomTheme","loading","setLoading","documentType","handleOpenPolicy","policyKey","url","canOpen","canOpenURL","openURL","error","component","useEffect","getPolicyTitle","key","titles","className","children","title","onBack","variant","elevation","message","color","colors","text","icon","name","success","description","onPress","disabled","primary","secondary","warning","info","textTertiary","memo"],"sourceRoot":"../../../../src","sources":["ui/screens/LegalDocumentsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,UAAU,EAAEC,OAAO,QAAQ,cAAc;AACxD,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAChF,SAASC,MAAM,QAAQ,aAAa;AAEpC,OAAOC,MAAM,MAAM,yBAAsB;AACzC,OAAOC,YAAY,MAAM,+BAA4B;AACrD,SAASC,YAAY,QAAQ,+BAA4B;AACzD,SAASC,OAAO,QAAQ,qBAAkB;;AAE1C;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AACA,MAAMC,aAAa,GAAG,sBAAsB;;AAE5C;AACA,MAAMC,WAAW,GAAG;EAChBC,OAAO,EAAE,sDAAsD;EAC/DC,KAAK,EAAE,+DAA+D;EACtEC,SAAS,EAAE,mEAAmE;EAC9EC,aAAa,EAAE,6DAA6D;EAC5EC,iBAAiB,EAAE,iEAAiE;EACpFC,WAAW,EAAE,2DAA2D;EACxEC,MAAM,EAAE;AACZ,CAAU;AAIV;AACA;AACA;AACA;AACA;AACA,MAAMC,gBAA2C,GAAG;EAChD,CAAC,EAAE,SAAS;EACZ,CAAC,EAAE,OAAO;EACV,CAAC,EAAE,WAAW;EACd,CAAC,EAAE,eAAe;EAClB,CAAC,EAAE,mBAAmB;EACtB,CAAC,EAAE,aAAa;EAChB,CAAC,EAAE;AACP,CAAC;AAED,MAAMC,oBAA+C,GAAGA,CAAC;EACrDC,OAAO;EACPC,MAAM;EACNC;AACJ,CAAC,KAAK;EACF,MAAM;IAAEC;EAAE,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