@oxyhq/services 5.4.2 → 5.4.4

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 (418) hide show
  1. package/README.md +14 -0
  2. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  3. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  4. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  7. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  8. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  9. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  10. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  11. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
  12. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  13. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +41 -0
  14. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  15. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  16. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  17. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  18. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  19. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  20. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  21. package/lib/commonjs/assets/icons/OxyServices.js +53 -0
  22. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  23. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  24. package/lib/commonjs/assets/illustrations/HighFive.js +61 -0
  25. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
  26. package/lib/commonjs/constants/version.js +28 -0
  27. package/lib/commonjs/constants/version.js.map +1 -0
  28. package/lib/commonjs/core/index.js +1660 -0
  29. package/lib/commonjs/core/index.js.map +1 -0
  30. package/lib/commonjs/index.js +160 -0
  31. package/lib/commonjs/index.js.map +1 -0
  32. package/lib/commonjs/lib/sonner.js +21 -0
  33. package/lib/commonjs/lib/sonner.js.map +1 -0
  34. package/lib/commonjs/models/interfaces.js +2 -0
  35. package/lib/commonjs/models/interfaces.js.map +1 -0
  36. package/lib/commonjs/models/secureSession.js +2 -0
  37. package/lib/commonjs/models/secureSession.js.map +1 -0
  38. package/lib/commonjs/node/createAuth.js +95 -0
  39. package/lib/commonjs/node/createAuth.js.map +1 -0
  40. package/lib/commonjs/node/index.js +63 -0
  41. package/lib/commonjs/node/index.js.map +1 -0
  42. package/lib/commonjs/package.json +1 -0
  43. package/lib/commonjs/ui/components/Avatar.js +98 -0
  44. package/lib/commonjs/ui/components/Avatar.js.map +1 -0
  45. package/lib/commonjs/ui/components/FollowButton.js +246 -0
  46. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  47. package/lib/commonjs/ui/components/FontLoader.js +181 -0
  48. package/lib/commonjs/ui/components/FontLoader.js.map +1 -0
  49. package/lib/commonjs/ui/components/GroupedItem.js +109 -0
  50. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
  51. package/lib/commonjs/ui/components/GroupedSection.js +33 -0
  52. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
  53. package/lib/commonjs/ui/components/OxyLogo.js +56 -0
  54. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -0
  55. package/lib/commonjs/ui/components/OxyProvider.js +522 -0
  56. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  57. package/lib/commonjs/ui/components/OxySignInButton.js +178 -0
  58. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  59. package/lib/commonjs/ui/components/ProfileCard.js +124 -0
  60. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
  61. package/lib/commonjs/ui/components/QuickActions.js +87 -0
  62. package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
  63. package/lib/commonjs/ui/components/Section.js +36 -0
  64. package/lib/commonjs/ui/components/Section.js.map +1 -0
  65. package/lib/commonjs/ui/components/SectionTitle.js +35 -0
  66. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
  67. package/lib/commonjs/ui/components/bottomSheet/index.js +37 -0
  68. package/lib/commonjs/ui/components/bottomSheet/index.js.map +1 -0
  69. package/lib/commonjs/ui/components/icon/OxyIcon.js +27 -0
  70. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
  71. package/lib/commonjs/ui/components/icon/index.js +14 -0
  72. package/lib/commonjs/ui/components/icon/index.js.map +1 -0
  73. package/lib/commonjs/ui/components/index.js +97 -0
  74. package/lib/commonjs/ui/components/index.js.map +1 -0
  75. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +213 -0
  76. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
  77. package/lib/commonjs/ui/components/internal/TextField.js +576 -0
  78. package/lib/commonjs/ui/components/internal/TextField.js.map +1 -0
  79. package/lib/commonjs/ui/context/OxyContext.js +584 -0
  80. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  81. package/lib/commonjs/ui/index.js +136 -0
  82. package/lib/commonjs/ui/index.js.map +1 -0
  83. package/lib/commonjs/ui/navigation/OxyRouter.js +269 -0
  84. package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -0
  85. package/lib/commonjs/ui/navigation/types.js +6 -0
  86. package/lib/commonjs/ui/navigation/types.js.map +1 -0
  87. package/lib/commonjs/ui/screens/AccountCenterScreen.js +313 -0
  88. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -0
  89. package/lib/commonjs/ui/screens/AccountManagementDemo.js +299 -0
  90. package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +1 -0
  91. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +855 -0
  92. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
  93. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +843 -0
  94. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  95. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +788 -0
  96. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -0
  97. package/lib/commonjs/ui/screens/AppInfoScreen.js +664 -0
  98. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  99. package/lib/commonjs/ui/screens/BillingManagementScreen.js +636 -0
  100. package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +1 -0
  101. package/lib/commonjs/ui/screens/FeedbackScreen.js +1169 -0
  102. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
  103. package/lib/commonjs/ui/screens/FileManagementScreen.js +2515 -0
  104. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  105. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1620 -0
  106. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  107. package/lib/commonjs/ui/screens/ProfileScreen.js +450 -0
  108. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  109. package/lib/commonjs/ui/screens/SessionManagementScreen.js +449 -0
  110. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
  111. package/lib/commonjs/ui/screens/SignInScreen.js +882 -0
  112. package/lib/commonjs/ui/screens/SignInScreen.js.map +1 -0
  113. package/lib/commonjs/ui/screens/SignUpScreen.js +1036 -0
  114. package/lib/commonjs/ui/screens/SignUpScreen.js.map +1 -0
  115. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +88 -0
  116. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  117. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +364 -0
  118. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  119. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +227 -0
  120. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  121. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +148 -0
  122. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  123. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +127 -0
  124. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  125. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +105 -0
  126. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  127. package/lib/commonjs/ui/store/index.js +52 -0
  128. package/lib/commonjs/ui/store/index.js.map +1 -0
  129. package/lib/commonjs/ui/styles/FONTS.md +126 -0
  130. package/lib/commonjs/ui/styles/fonts.js +84 -0
  131. package/lib/commonjs/ui/styles/fonts.js.map +1 -0
  132. package/lib/commonjs/ui/styles/index.js +28 -0
  133. package/lib/commonjs/ui/styles/index.js.map +1 -0
  134. package/lib/commonjs/ui/styles/theme.js +121 -0
  135. package/lib/commonjs/ui/styles/theme.js.map +1 -0
  136. package/lib/commonjs/utils/deviceManager.js +173 -0
  137. package/lib/commonjs/utils/deviceManager.js.map +1 -0
  138. package/lib/commonjs/utils/index.js +13 -0
  139. package/lib/commonjs/utils/index.js.map +1 -0
  140. package/lib/commonjs/utils/polyfills.js +42 -0
  141. package/lib/commonjs/utils/polyfills.js.map +1 -0
  142. package/lib/module/assets/OxyLogo.svg +1 -0
  143. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  144. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  145. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  146. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  147. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  148. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  149. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  150. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  151. package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
  152. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  153. package/lib/module/assets/assets/illustrations/HighFive.tsx +41 -0
  154. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  155. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  156. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  157. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  158. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  159. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  160. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  161. package/lib/module/assets/icons/OxyServices.js +46 -0
  162. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  163. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  164. package/lib/module/assets/illustrations/HighFive.js +55 -0
  165. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  166. package/lib/module/constants/version.js +21 -0
  167. package/lib/module/constants/version.js.map +1 -0
  168. package/lib/module/core/index.js +1634 -0
  169. package/lib/module/core/index.js.map +1 -0
  170. package/lib/module/index.js +48 -0
  171. package/lib/module/index.js.map +1 -0
  172. package/lib/module/lib/sonner.js +16 -0
  173. package/lib/module/lib/sonner.js.map +1 -0
  174. package/lib/module/models/interfaces.js +2 -0
  175. package/lib/module/models/interfaces.js.map +1 -0
  176. package/lib/module/models/secureSession.js +2 -0
  177. package/lib/module/models/secureSession.js.map +1 -0
  178. package/lib/module/node/createAuth.js +90 -0
  179. package/lib/module/node/createAuth.js.map +1 -0
  180. package/lib/module/node/index.js +27 -0
  181. package/lib/module/node/index.js.map +1 -0
  182. package/lib/module/package.json +1 -0
  183. package/lib/module/ui/components/Avatar.js +93 -0
  184. package/lib/module/ui/components/Avatar.js.map +1 -0
  185. package/lib/module/ui/components/FollowButton.js +241 -0
  186. package/lib/module/ui/components/FollowButton.js.map +1 -0
  187. package/lib/module/ui/components/FontLoader.js +176 -0
  188. package/lib/module/ui/components/FontLoader.js.map +1 -0
  189. package/lib/module/ui/components/GroupedItem.js +104 -0
  190. package/lib/module/ui/components/GroupedItem.js.map +1 -0
  191. package/lib/module/ui/components/GroupedSection.js +28 -0
  192. package/lib/module/ui/components/GroupedSection.js.map +1 -0
  193. package/lib/module/ui/components/OxyLogo.js +49 -0
  194. package/lib/module/ui/components/OxyLogo.js.map +1 -0
  195. package/lib/module/ui/components/OxyProvider.js +516 -0
  196. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  197. package/lib/module/ui/components/OxySignInButton.js +172 -0
  198. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  199. package/lib/module/ui/components/ProfileCard.js +119 -0
  200. package/lib/module/ui/components/ProfileCard.js.map +1 -0
  201. package/lib/module/ui/components/QuickActions.js +82 -0
  202. package/lib/module/ui/components/QuickActions.js.map +1 -0
  203. package/lib/module/ui/components/Section.js +31 -0
  204. package/lib/module/ui/components/Section.js.map +1 -0
  205. package/lib/module/ui/components/SectionTitle.js +30 -0
  206. package/lib/module/ui/components/SectionTitle.js.map +1 -0
  207. package/lib/module/ui/components/bottomSheet/index.js +5 -0
  208. package/lib/module/ui/components/bottomSheet/index.js.map +1 -0
  209. package/lib/module/ui/components/icon/OxyIcon.js +22 -0
  210. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
  211. package/lib/module/ui/components/icon/index.js +4 -0
  212. package/lib/module/ui/components/icon/index.js.map +1 -0
  213. package/lib/module/ui/components/index.js +18 -0
  214. package/lib/module/ui/components/index.js.map +1 -0
  215. package/lib/module/ui/components/internal/GroupedPillButtons.js +208 -0
  216. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -0
  217. package/lib/module/ui/components/internal/TextField.js +571 -0
  218. package/lib/module/ui/components/internal/TextField.js.map +1 -0
  219. package/lib/module/ui/context/OxyContext.js +579 -0
  220. package/lib/module/ui/context/OxyContext.js.map +1 -0
  221. package/lib/module/ui/index.js +26 -0
  222. package/lib/module/ui/index.js.map +1 -0
  223. package/lib/module/ui/navigation/OxyRouter.js +262 -0
  224. package/lib/module/ui/navigation/OxyRouter.js.map +1 -0
  225. package/lib/module/ui/navigation/types.js +4 -0
  226. package/lib/module/ui/navigation/types.js.map +1 -0
  227. package/lib/module/ui/screens/AccountCenterScreen.js +308 -0
  228. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -0
  229. package/lib/module/ui/screens/AccountManagementDemo.js +296 -0
  230. package/lib/module/ui/screens/AccountManagementDemo.js.map +1 -0
  231. package/lib/module/ui/screens/AccountOverviewScreen.js +849 -0
  232. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -0
  233. package/lib/module/ui/screens/AccountSettingsScreen.js +837 -0
  234. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  235. package/lib/module/ui/screens/AccountSwitcherScreen.js +782 -0
  236. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
  237. package/lib/module/ui/screens/AppInfoScreen.js +658 -0
  238. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  239. package/lib/module/ui/screens/BillingManagementScreen.js +631 -0
  240. package/lib/module/ui/screens/BillingManagementScreen.js.map +1 -0
  241. package/lib/module/ui/screens/FeedbackScreen.js +1164 -0
  242. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  243. package/lib/module/ui/screens/FileManagementScreen.js +2510 -0
  244. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  245. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1615 -0
  246. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  247. package/lib/module/ui/screens/ProfileScreen.js +444 -0
  248. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  249. package/lib/module/ui/screens/SessionManagementScreen.js +444 -0
  250. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -0
  251. package/lib/module/ui/screens/SignInScreen.js +876 -0
  252. package/lib/module/ui/screens/SignInScreen.js.map +1 -0
  253. package/lib/module/ui/screens/SignUpScreen.js +1030 -0
  254. package/lib/module/ui/screens/SignUpScreen.js.map +1 -0
  255. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +83 -0
  256. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  257. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +358 -0
  258. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  259. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +222 -0
  260. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  261. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +142 -0
  262. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  263. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +122 -0
  264. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  265. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +100 -0
  266. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  267. package/lib/module/ui/store/index.js +44 -0
  268. package/lib/module/ui/store/index.js.map +1 -0
  269. package/lib/module/ui/styles/FONTS.md +126 -0
  270. package/lib/module/ui/styles/fonts.js +81 -0
  271. package/lib/module/ui/styles/fonts.js.map +1 -0
  272. package/lib/module/ui/styles/index.js +5 -0
  273. package/lib/module/ui/styles/index.js.map +1 -0
  274. package/lib/module/ui/styles/theme.js +114 -0
  275. package/lib/module/ui/styles/theme.js.map +1 -0
  276. package/lib/module/utils/deviceManager.js +167 -0
  277. package/lib/module/utils/deviceManager.js.map +1 -0
  278. package/lib/module/utils/index.js +4 -0
  279. package/lib/module/utils/index.js.map +1 -0
  280. package/lib/module/utils/polyfills.js +36 -0
  281. package/lib/module/utils/polyfills.js.map +1 -0
  282. package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
  283. package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
  284. package/lib/typescript/assets/illustrations/HighFive.d.ts +9 -0
  285. package/lib/typescript/assets/illustrations/HighFive.d.ts.map +1 -0
  286. package/lib/typescript/constants/version.d.ts +14 -0
  287. package/lib/typescript/constants/version.d.ts.map +1 -0
  288. package/lib/typescript/core/index.d.ts +603 -0
  289. package/lib/typescript/core/index.d.ts.map +1 -0
  290. package/lib/typescript/index.d.ts +20 -0
  291. package/lib/typescript/index.d.ts.map +1 -0
  292. package/lib/typescript/lib/sonner.d.ts +6 -0
  293. package/lib/typescript/lib/sonner.d.ts.map +1 -0
  294. package/lib/typescript/models/interfaces.d.ts +179 -0
  295. package/lib/typescript/models/interfaces.d.ts.map +1 -0
  296. package/lib/typescript/models/secureSession.d.ts +27 -0
  297. package/lib/typescript/models/secureSession.d.ts.map +1 -0
  298. package/lib/typescript/node/createAuth.d.ts +7 -0
  299. package/lib/typescript/node/createAuth.d.ts.map +1 -0
  300. package/lib/typescript/node/index.d.ts +13 -0
  301. package/lib/typescript/node/index.d.ts.map +1 -0
  302. package/lib/typescript/types/expo-vector-icons.d.ts +3 -0
  303. package/lib/typescript/types/express.d.ts +5 -0
  304. package/lib/typescript/types/react-redux.d.ts +5 -0
  305. package/lib/typescript/ui/components/Avatar.d.ts +62 -0
  306. package/lib/typescript/ui/components/Avatar.d.ts.map +1 -0
  307. package/lib/typescript/ui/components/FollowButton.d.ts +92 -0
  308. package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -0
  309. package/lib/typescript/ui/components/FontLoader.d.ts +15 -0
  310. package/lib/typescript/ui/components/FontLoader.d.ts.map +1 -0
  311. package/lib/typescript/ui/components/GroupedItem.d.ts +17 -0
  312. package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
  313. package/lib/typescript/ui/components/GroupedSection.d.ts +19 -0
  314. package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
  315. package/lib/typescript/ui/components/OxyLogo.d.ts +29 -0
  316. package/lib/typescript/ui/components/OxyLogo.d.ts.map +1 -0
  317. package/lib/typescript/ui/components/OxyProvider.d.ts +12 -0
  318. package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -0
  319. package/lib/typescript/ui/components/OxySignInButton.d.ts +70 -0
  320. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -0
  321. package/lib/typescript/ui/components/ProfileCard.d.ts +20 -0
  322. package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
  323. package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
  324. package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
  325. package/lib/typescript/ui/components/Section.d.ts +11 -0
  326. package/lib/typescript/ui/components/Section.d.ts.map +1 -0
  327. package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
  328. package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
  329. package/lib/typescript/ui/components/bottomSheet/index.d.ts +4 -0
  330. package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +1 -0
  331. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +10 -0
  332. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -0
  333. package/lib/typescript/ui/components/icon/index.d.ts +3 -0
  334. package/lib/typescript/ui/components/icon/index.d.ts.map +1 -0
  335. package/lib/typescript/ui/components/index.d.ts +13 -0
  336. package/lib/typescript/ui/components/index.d.ts.map +1 -0
  337. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +18 -0
  338. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
  339. package/lib/typescript/ui/components/internal/TextField.d.ts +25 -0
  340. package/lib/typescript/ui/components/internal/TextField.d.ts.map +1 -0
  341. package/lib/typescript/ui/context/OxyContext.d.ts +42 -0
  342. package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -0
  343. package/lib/typescript/ui/index.d.ts +17 -0
  344. package/lib/typescript/ui/index.d.ts.map +1 -0
  345. package/lib/typescript/ui/navigation/OxyRouter.d.ts +5 -0
  346. package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -0
  347. package/lib/typescript/ui/navigation/types.d.ts +116 -0
  348. package/lib/typescript/ui/navigation/types.d.ts.map +1 -0
  349. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +5 -0
  350. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -0
  351. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +8 -0
  352. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +1 -0
  353. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +5 -0
  354. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
  355. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +5 -0
  356. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  357. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +5 -0
  358. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
  359. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +5 -0
  360. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -0
  361. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +5 -0
  362. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +1 -0
  363. package/lib/typescript/ui/screens/FeedbackScreen.d.ts +5 -0
  364. package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -0
  365. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +8 -0
  366. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
  367. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  368. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  369. package/lib/typescript/ui/screens/ProfileScreen.d.ts +9 -0
  370. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -0
  371. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +5 -0
  372. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -0
  373. package/lib/typescript/ui/screens/SignInScreen.d.ts +5 -0
  374. package/lib/typescript/ui/screens/SignInScreen.d.ts.map +1 -0
  375. package/lib/typescript/ui/screens/SignUpScreen.d.ts +5 -0
  376. package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +1 -0
  377. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
  378. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
  379. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
  380. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
  381. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
  382. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
  383. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
  384. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
  385. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
  386. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
  387. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
  388. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
  389. package/lib/typescript/ui/store/index.d.ts +19 -0
  390. package/lib/typescript/ui/store/index.d.ts.map +1 -0
  391. package/lib/typescript/ui/styles/fonts.d.ts +21 -0
  392. package/lib/typescript/ui/styles/fonts.d.ts.map +1 -0
  393. package/lib/typescript/ui/styles/index.d.ts +3 -0
  394. package/lib/typescript/ui/styles/index.d.ts.map +1 -0
  395. package/lib/typescript/ui/styles/theme.d.ts +68 -0
  396. package/lib/typescript/ui/styles/theme.d.ts.map +1 -0
  397. package/lib/typescript/utils/deviceManager.d.ts +66 -0
  398. package/lib/typescript/utils/deviceManager.d.ts.map +1 -0
  399. package/lib/typescript/utils/index.d.ts +3 -0
  400. package/lib/typescript/utils/index.d.ts.map +1 -0
  401. package/lib/typescript/utils/polyfills.d.ts +6 -0
  402. package/lib/typescript/utils/polyfills.d.ts.map +1 -0
  403. package/package.json +7 -6
  404. package/src/assets/illustrations/HighFive.tsx +41 -0
  405. package/src/node/createAuth.ts +116 -0
  406. package/src/node/index.ts +4 -0
  407. package/src/types/expo-vector-icons.d.ts +3 -0
  408. package/src/types/express.d.ts +5 -0
  409. package/src/types/react-redux.d.ts +5 -0
  410. package/src/ui/components/OxyProvider.tsx +136 -135
  411. package/src/ui/components/internal/GroupedPillButtons.tsx +253 -0
  412. package/src/ui/components/internal/TextField.tsx +694 -0
  413. package/src/ui/index.ts +6 -2
  414. package/src/ui/navigation/OxyRouter.tsx +8 -3
  415. package/src/ui/screens/FeedbackScreen.tsx +1042 -0
  416. package/src/ui/screens/SignInScreen.tsx +179 -222
  417. package/src/ui/screens/SignUpScreen.tsx +772 -608
  418. package/src/ui/store/index.ts +51 -0
@@ -0,0 +1,262 @@
1
+ "use strict";
2
+
3
+ import React, { useState, useEffect } from 'react';
4
+ import { View, StyleSheet } from 'react-native';
5
+ // Import screens
6
+ import SignInScreen from '../screens/SignInScreen';
7
+ import SignUpScreen from '../screens/SignUpScreen';
8
+ import AccountCenterScreen from '../screens/AccountCenterScreen';
9
+ import AccountSwitcherScreen from '../screens/AccountSwitcherScreen';
10
+ import SessionManagementScreen from '../screens/SessionManagementScreen';
11
+ import AccountOverviewScreen from '../screens/AccountOverviewScreen';
12
+ import AccountSettingsScreen from '../screens/AccountSettingsScreen';
13
+ import PremiumSubscriptionScreen from '../screens/PremiumSubscriptionScreen';
14
+ import BillingManagementScreen from '../screens/BillingManagementScreen';
15
+ import AppInfoScreen from '../screens/AppInfoScreen';
16
+ import FeedbackScreen from '../screens/FeedbackScreen';
17
+ import KarmaCenterScreen from '../screens/karma/KarmaCenterScreen';
18
+ import KarmaLeaderboardScreen from '../screens/karma/KarmaLeaderboardScreen';
19
+ import KarmaRulesScreen from '../screens/karma/KarmaRulesScreen';
20
+ import KarmaAboutScreen from '../screens/karma/KarmaAboutScreen';
21
+ import KarmaRewardsScreen from '../screens/karma/KarmaRewardsScreen';
22
+ import KarmaFAQScreen from '../screens/karma/KarmaFAQScreen';
23
+ import ProfileScreen from '../screens/ProfileScreen';
24
+ import FileManagementScreen from '../screens/FileManagementScreen';
25
+
26
+ // Import types
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ // Define route configuration with screen components and default snap points
29
+ const routes = {
30
+ SignIn: {
31
+ component: SignInScreen,
32
+ snapPoints: ['10%', '80%']
33
+ },
34
+ SignUp: {
35
+ component: SignUpScreen,
36
+ snapPoints: ['10%', '90%']
37
+ },
38
+ AccountCenter: {
39
+ component: AccountCenterScreen,
40
+ snapPoints: ['60%', '100%']
41
+ },
42
+ AccountSwitcher: {
43
+ component: AccountSwitcherScreen,
44
+ snapPoints: ['70%', '100%']
45
+ },
46
+ SessionManagement: {
47
+ component: SessionManagementScreen,
48
+ snapPoints: ['70%', '100%']
49
+ },
50
+ AccountOverview: {
51
+ component: AccountOverviewScreen,
52
+ snapPoints: ['60%', '85%']
53
+ },
54
+ AccountSettings: {
55
+ component: AccountSettingsScreen,
56
+ snapPoints: ['60%', '100%']
57
+ },
58
+ PremiumSubscription: {
59
+ component: PremiumSubscriptionScreen,
60
+ snapPoints: ['70%', '100%']
61
+ },
62
+ BillingManagement: {
63
+ component: BillingManagementScreen,
64
+ snapPoints: ['70%', '100%']
65
+ },
66
+ AppInfo: {
67
+ component: AppInfoScreen,
68
+ snapPoints: ['60%', '90%']
69
+ },
70
+ Feedback: {
71
+ component: FeedbackScreen,
72
+ snapPoints: ['70%', '100%']
73
+ },
74
+ KarmaCenter: {
75
+ component: KarmaCenterScreen,
76
+ snapPoints: ['60%', '100%']
77
+ },
78
+ KarmaLeaderboard: {
79
+ component: KarmaLeaderboardScreen,
80
+ snapPoints: ['60%', '100%']
81
+ },
82
+ KarmaRules: {
83
+ component: KarmaRulesScreen,
84
+ snapPoints: ['60%', '90%']
85
+ },
86
+ AboutKarma: {
87
+ component: KarmaAboutScreen,
88
+ snapPoints: ['60%', '90%']
89
+ },
90
+ KarmaRewards: {
91
+ component: KarmaRewardsScreen,
92
+ snapPoints: ['60%', '90%']
93
+ },
94
+ KarmaFAQ: {
95
+ component: KarmaFAQScreen,
96
+ snapPoints: ['60%', '90%']
97
+ },
98
+ Profile: {
99
+ component: ProfileScreen,
100
+ snapPoints: ['60%', '90%']
101
+ },
102
+ FileManagement: {
103
+ component: FileManagementScreen,
104
+ snapPoints: ['70%', '100%']
105
+ }
106
+ };
107
+ const OxyRouter = ({
108
+ oxyServices,
109
+ initialScreen,
110
+ onClose,
111
+ onAuthenticated,
112
+ theme,
113
+ adjustSnapPoints,
114
+ navigationRef,
115
+ containerWidth
116
+ }) => {
117
+ const [currentScreen, setCurrentScreen] = useState(initialScreen);
118
+ const [screenHistory, setScreenHistory] = useState([initialScreen]);
119
+ const [screenProps, setScreenProps] = useState({});
120
+
121
+ // Update snap points when the screen changes
122
+ useEffect(() => {
123
+ if (routes[currentScreen]) {
124
+ adjustSnapPoints(routes[currentScreen].snapPoints);
125
+ }
126
+ }, [currentScreen, adjustSnapPoints]);
127
+
128
+ // Navigation methods
129
+ const navigate = (screen, props = {}) => {
130
+ if (routes[screen]) {
131
+ setCurrentScreen(screen);
132
+ setScreenHistory(prev => [...prev, screen]);
133
+ setScreenProps(props);
134
+ } else {
135
+ console.error(`Screen "${screen}" not found`);
136
+ }
137
+ };
138
+
139
+ // Expose the navigate function to the parent component
140
+ useEffect(() => {
141
+ if (navigationRef) {
142
+ navigationRef.current = navigate;
143
+ }
144
+ return () => {
145
+ if (navigationRef) {
146
+ navigationRef.current = null;
147
+ }
148
+ };
149
+ }, [navigate, navigationRef]);
150
+
151
+ // Expose the navigate method to the parent component (OxyProvider)
152
+ useEffect(() => {
153
+ // Set up event listener for navigation events
154
+ const handleNavigationEvent = event => {
155
+ if (event && event.detail) {
156
+ // Support both string and object detail
157
+ if (typeof event.detail === 'string') {
158
+ const screenName = event.detail;
159
+ console.log(`Navigation event received for screen: ${screenName}`);
160
+ navigate(screenName);
161
+ } else if (typeof event.detail === 'object' && event.detail.screen) {
162
+ const {
163
+ screen,
164
+ props
165
+ } = event.detail;
166
+ console.log(`Navigation event received for screen: ${screen} with props`, props);
167
+ navigate(screen, props || {});
168
+ }
169
+ }
170
+ };
171
+
172
+ // For React Native - check for global navigation events
173
+ let intervalId = null;
174
+ if (typeof document !== 'undefined') {
175
+ // Web - use custom event listener
176
+ document.addEventListener('oxy:navigate', handleNavigationEvent);
177
+ } else {
178
+ // React Native - poll for global navigation events
179
+ intervalId = setInterval(() => {
180
+ const globalNav = globalThis.oxyNavigateEvent;
181
+ if (globalNav) {
182
+ console.log(`RN Navigation event received:`, globalNav);
183
+ if (globalNav.screen) {
184
+ navigate(globalNav.screen, globalNav.props || {});
185
+ }
186
+ // Clear the event after processing
187
+ globalThis.oxyNavigateEvent = null;
188
+ }
189
+ }, 100); // Check every 100ms
190
+ }
191
+
192
+ // Cleanup
193
+ return () => {
194
+ if (typeof document !== 'undefined') {
195
+ document.removeEventListener('oxy:navigate', handleNavigationEvent);
196
+ }
197
+ if (intervalId) {
198
+ clearInterval(intervalId);
199
+ }
200
+ };
201
+ }, []);
202
+ const goBack = () => {
203
+ if (screenHistory.length > 1) {
204
+ const newHistory = [...screenHistory];
205
+ newHistory.pop();
206
+ const previousScreen = newHistory[newHistory.length - 1];
207
+ setCurrentScreen(previousScreen);
208
+ setScreenHistory(newHistory);
209
+ } else {
210
+ // If no history, close the UI
211
+ if (onClose) {
212
+ onClose();
213
+ }
214
+ }
215
+ };
216
+
217
+ // Render the current screen component
218
+ const renderScreen = () => {
219
+ const CurrentScreen = routes[currentScreen]?.component;
220
+ console.log('[OxyRouter] Rendering screen:', currentScreen);
221
+ console.log('[OxyRouter] Available routes:', Object.keys(routes));
222
+ console.log('[OxyRouter] Current screen component found:', !!CurrentScreen);
223
+ if (!CurrentScreen) {
224
+ console.error(`Screen "${currentScreen}" not found`);
225
+ return /*#__PURE__*/_jsx(View, {
226
+ style: styles.errorContainer
227
+ });
228
+ }
229
+ console.log('[OxyRouter] Rendering screen component for:', currentScreen);
230
+ return /*#__PURE__*/_jsx(CurrentScreen, {
231
+ oxyServices: oxyServices,
232
+ navigate: navigate,
233
+ goBack: goBack,
234
+ onClose: onClose,
235
+ onAuthenticated: onAuthenticated,
236
+ theme: theme,
237
+ containerWidth: containerWidth,
238
+ ...screenProps
239
+ });
240
+ };
241
+ return /*#__PURE__*/_jsx(View, {
242
+ style: styles.container,
243
+ children: renderScreen()
244
+ });
245
+ };
246
+ const styles = StyleSheet.create({
247
+ container: {
248
+ flex: 1,
249
+ minHeight: 200,
250
+ // Ensure minimum height
251
+ backgroundColor: 'transparent' // Make sure it's visible
252
+ },
253
+ errorContainer: {
254
+ flex: 1,
255
+ justifyContent: 'center',
256
+ alignItems: 'center',
257
+ minHeight: 100,
258
+ backgroundColor: 'red' // Make errors visible
259
+ }
260
+ });
261
+ export default OxyRouter;
262
+ //# sourceMappingURL=OxyRouter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","useEffect","View","StyleSheet","SignInScreen","SignUpScreen","AccountCenterScreen","AccountSwitcherScreen","SessionManagementScreen","AccountOverviewScreen","AccountSettingsScreen","PremiumSubscriptionScreen","BillingManagementScreen","AppInfoScreen","FeedbackScreen","KarmaCenterScreen","KarmaLeaderboardScreen","KarmaRulesScreen","KarmaAboutScreen","KarmaRewardsScreen","KarmaFAQScreen","ProfileScreen","FileManagementScreen","jsx","_jsx","routes","SignIn","component","snapPoints","SignUp","AccountCenter","AccountSwitcher","SessionManagement","AccountOverview","AccountSettings","PremiumSubscription","BillingManagement","AppInfo","Feedback","KarmaCenter","KarmaLeaderboard","KarmaRules","AboutKarma","KarmaRewards","KarmaFAQ","Profile","FileManagement","OxyRouter","oxyServices","initialScreen","onClose","onAuthenticated","theme","adjustSnapPoints","navigationRef","containerWidth","currentScreen","setCurrentScreen","screenHistory","setScreenHistory","screenProps","setScreenProps","navigate","screen","props","prev","console","error","current","handleNavigationEvent","event","detail","screenName","log","intervalId","document","addEventListener","setInterval","globalNav","globalThis","oxyNavigateEvent","removeEventListener","clearInterval","goBack","length","newHistory","pop","previousScreen","renderScreen","CurrentScreen","Object","keys","style","styles","errorContainer","container","children","create","flex","minHeight","backgroundColor","justifyContent","alignItems"],"sourceRoot":"../../../../src","sources":["ui/navigation/OxyRouter.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAG/C;AACA,OAAOC,YAAY,MAAM,yBAAyB;AAClD,OAAOC,YAAY,MAAM,yBAAyB;AAClD,OAAOC,mBAAmB,MAAM,gCAAgC;AAChE,OAAOC,qBAAqB,MAAM,kCAAkC;AACpE,OAAOC,uBAAuB,MAAM,oCAAoC;AACxE,OAAOC,qBAAqB,MAAM,kCAAkC;AACpE,OAAOC,qBAAqB,MAAM,kCAAkC;AACpE,OAAOC,yBAAyB,MAAM,sCAAsC;AAC5E,OAAOC,uBAAuB,MAAM,oCAAoC;AACxE,OAAOC,aAAa,MAAM,0BAA0B;AACpD,OAAOC,cAAc,MAAM,2BAA2B;AACtD,OAAOC,iBAAiB,MAAM,oCAAoC;AAClE,OAAOC,sBAAsB,MAAM,yCAAyC;AAC5E,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,kBAAkB,MAAM,qCAAqC;AACpE,OAAOC,c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A,CAACtB,IAAI;IAAC0F,KAAK,EAAEC,MAAM,CAACE,SAAU;IAAAC,QAAA,EACzBR,YAAY,CAAC;EAAC,CACb,CAAC;AAEf,CAAC;AAED,MAAMK,MAAM,GAAG1F,UAAU,CAAC8F,MAAM,CAAC;EAC7BF,SAAS,EAAE;IACPG,IAAI,EAAE,CAAC;IACPC,SAAS,EAAE,GAAG;IAAE;IAChBC,eAAe,EAAE,aAAa,CAAE;EACpC,CAAC;EACDN,cAAc,EAAE;IACZI,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBH,SAAS,EAAE,GAAG;IACdC,eAAe,EAAE,KAAK,CAAE;EAC5B;AACJ,CAAC,CAAC;AAEF,eAAerD,SAAS","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["ui/navigation/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,308 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, Text, StyleSheet, ActivityIndicator, ScrollView, Alert, Platform } from 'react-native';
5
+ import { useOxy } from '../context/OxyContext';
6
+ import { packageInfo } from '../../constants/version';
7
+ import { toast } from '../../lib/sonner';
8
+ import { fontFamilies } from '../styles/fonts';
9
+ import { ProfileCard, Section, QuickActions, GroupedSection, GroupedItem } from '../components';
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ const AccountCenterScreen = ({
12
+ onClose,
13
+ theme,
14
+ navigate
15
+ }) => {
16
+ const {
17
+ user,
18
+ logout,
19
+ isLoading,
20
+ sessions
21
+ } = useOxy();
22
+ const isDarkTheme = theme === 'dark';
23
+ const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
24
+ const backgroundColor = isDarkTheme ? '#121212' : '#f2f2f2';
25
+ const secondaryBackgroundColor = isDarkTheme ? '#222222' : '#FFFFFF';
26
+ const borderColor = isDarkTheme ? '#444444' : '#E0E0E0';
27
+ const primaryColor = '#0066CC';
28
+ const dangerColor = '#D32F2F';
29
+ const handleLogout = async () => {
30
+ try {
31
+ await logout();
32
+ if (onClose) {
33
+ onClose();
34
+ }
35
+ } catch (error) {
36
+ console.error('Logout failed:', error);
37
+ toast.error('There was a problem signing you out. Please try again.');
38
+ }
39
+ };
40
+ const confirmLogout = () => {
41
+ Alert.alert('Sign Out', 'Are you sure you want to sign out?', [{
42
+ text: 'Cancel',
43
+ style: 'cancel'
44
+ }, {
45
+ text: 'Sign Out',
46
+ onPress: handleLogout,
47
+ style: 'destructive'
48
+ }], {
49
+ cancelable: true
50
+ });
51
+ };
52
+ if (!user) {
53
+ return /*#__PURE__*/_jsx(View, {
54
+ style: [styles.container, {
55
+ backgroundColor
56
+ }],
57
+ children: /*#__PURE__*/_jsx(Text, {
58
+ style: [styles.message, {
59
+ color: textColor
60
+ }],
61
+ children: "Not signed in"
62
+ })
63
+ });
64
+ }
65
+ if (isLoading) {
66
+ return /*#__PURE__*/_jsx(View, {
67
+ style: [styles.container, {
68
+ backgroundColor,
69
+ justifyContent: 'center'
70
+ }],
71
+ children: /*#__PURE__*/_jsx(ActivityIndicator, {
72
+ size: "large",
73
+ color: primaryColor
74
+ })
75
+ });
76
+ }
77
+ return /*#__PURE__*/_jsxs(View, {
78
+ style: [styles.container, {
79
+ backgroundColor
80
+ }],
81
+ children: [/*#__PURE__*/_jsx(ProfileCard, {
82
+ user: user,
83
+ theme: theme,
84
+ onEditPress: () => navigate('AccountSettings', {
85
+ activeTab: 'profile'
86
+ }),
87
+ onClosePress: onClose,
88
+ showCloseButton: !!onClose
89
+ }), /*#__PURE__*/_jsxs(ScrollView, {
90
+ style: styles.scrollView,
91
+ contentContainerStyle: styles.scrollContainer,
92
+ showsVerticalScrollIndicator: false,
93
+ children: [/*#__PURE__*/_jsx(Section, {
94
+ title: "Quick Actions",
95
+ theme: theme,
96
+ isFirst: true,
97
+ children: /*#__PURE__*/_jsx(QuickActions, {
98
+ actions: [{
99
+ id: 'overview',
100
+ icon: 'person-circle',
101
+ iconColor: '#007AFF',
102
+ title: 'Overview',
103
+ onPress: () => navigate('AccountOverview')
104
+ }, {
105
+ id: 'settings',
106
+ icon: 'settings',
107
+ iconColor: '#5856D6',
108
+ title: 'Settings',
109
+ onPress: () => navigate('AccountSettings')
110
+ }, {
111
+ id: 'sessions',
112
+ icon: 'shield-checkmark',
113
+ iconColor: '#30D158',
114
+ title: 'Sessions',
115
+ onPress: () => navigate('SessionManagement')
116
+ }, {
117
+ id: 'premium',
118
+ icon: 'star',
119
+ iconColor: '#FFD700',
120
+ title: 'Premium',
121
+ onPress: () => navigate('PremiumSubscription')
122
+ }, ...(user?.isPremium ? [{
123
+ id: 'billing',
124
+ icon: 'card',
125
+ iconColor: '#34C759',
126
+ title: 'Billing',
127
+ onPress: () => navigate('BillingManagement')
128
+ }] : []), ...(sessions && sessions.length > 1 ? [{
129
+ id: 'switch',
130
+ icon: 'swap-horizontal',
131
+ iconColor: '#FF9500',
132
+ title: 'Switch',
133
+ onPress: () => navigate('AccountSwitcher')
134
+ }] : [])],
135
+ theme: theme
136
+ })
137
+ }), /*#__PURE__*/_jsx(Section, {
138
+ title: "Account Management",
139
+ theme: theme,
140
+ children: /*#__PURE__*/_jsx(GroupedSection, {
141
+ items: [{
142
+ id: 'overview',
143
+ icon: 'person-circle',
144
+ iconColor: '#007AFF',
145
+ title: 'Account Overview',
146
+ subtitle: 'Complete account information',
147
+ onPress: () => navigate('AccountOverview')
148
+ }, {
149
+ id: 'settings',
150
+ icon: 'settings',
151
+ iconColor: '#5856D6',
152
+ title: 'Account Settings',
153
+ subtitle: 'Manage your preferences',
154
+ onPress: () => navigate('AccountSettings')
155
+ }, {
156
+ id: 'sessions',
157
+ icon: 'shield-checkmark',
158
+ iconColor: '#30D158',
159
+ title: 'Manage Sessions',
160
+ subtitle: 'Security and active devices',
161
+ onPress: () => navigate('SessionManagement')
162
+ }, {
163
+ id: 'files',
164
+ icon: 'folder',
165
+ iconColor: '#FF9500',
166
+ title: 'File Management',
167
+ subtitle: 'Upload, download, and manage your files',
168
+ onPress: () => navigate('FileManagement')
169
+ }, {
170
+ id: 'premium',
171
+ icon: 'star',
172
+ iconColor: '#FFD700',
173
+ title: 'Oxy+ Subscriptions',
174
+ subtitle: user?.isPremium ? 'Manage your premium plan' : 'Upgrade to premium features',
175
+ onPress: () => navigate('PremiumSubscription')
176
+ }, ...(user?.isPremium ? [{
177
+ id: 'billing',
178
+ icon: 'card',
179
+ iconColor: '#34C759',
180
+ title: 'Billing Management',
181
+ subtitle: 'Payment methods and invoices',
182
+ onPress: () => navigate('BillingManagement')
183
+ }] : [])],
184
+ theme: theme
185
+ })
186
+ }), sessions && sessions.length > 1 && /*#__PURE__*/_jsx(Section, {
187
+ title: "Multi-Account",
188
+ theme: theme,
189
+ children: /*#__PURE__*/_jsx(GroupedSection, {
190
+ items: [{
191
+ id: 'switch',
192
+ icon: 'people',
193
+ iconColor: '#FF9500',
194
+ title: 'Switch Account',
195
+ subtitle: `${sessions.length} accounts available`,
196
+ onPress: () => navigate('AccountSwitcher')
197
+ }, {
198
+ id: 'add',
199
+ icon: 'person-add',
200
+ iconColor: '#30D158',
201
+ title: 'Add Another Account',
202
+ subtitle: 'Sign in with a different account',
203
+ onPress: () => navigate('SignIn')
204
+ }],
205
+ theme: theme
206
+ })
207
+ }), (!sessions || sessions.length <= 1) && /*#__PURE__*/_jsx(Section, {
208
+ title: "Add Account",
209
+ theme: theme,
210
+ children: /*#__PURE__*/_jsx(GroupedSection, {
211
+ items: [{
212
+ id: 'add',
213
+ icon: 'person-add',
214
+ iconColor: '#30D158',
215
+ title: 'Add Another Account',
216
+ subtitle: 'Sign in with a different account',
217
+ onPress: () => navigate('SignIn')
218
+ }],
219
+ theme: theme
220
+ })
221
+ }), /*#__PURE__*/_jsx(Section, {
222
+ title: "More Options",
223
+ theme: theme,
224
+ children: /*#__PURE__*/_jsx(GroupedSection, {
225
+ items: [...(Platform.OS !== 'web' ? [{
226
+ id: 'notifications',
227
+ icon: 'notifications',
228
+ iconColor: '#FF9500',
229
+ title: 'Notifications',
230
+ subtitle: 'Manage notification settings',
231
+ onPress: () => toast.info('Notifications feature coming soon!')
232
+ }] : []), {
233
+ id: 'help',
234
+ icon: 'help-circle',
235
+ iconColor: '#007AFF',
236
+ title: 'Help & Support',
237
+ subtitle: 'Get help and contact support',
238
+ onPress: () => toast.info('Help & Support feature coming soon!')
239
+ }, {
240
+ id: 'appinfo',
241
+ icon: 'information-circle',
242
+ iconColor: '#8E8E93',
243
+ title: 'App Information',
244
+ subtitle: 'Version and system details',
245
+ onPress: () => navigate('AppInfo')
246
+ }],
247
+ theme: theme
248
+ })
249
+ }), /*#__PURE__*/_jsx(Section, {
250
+ theme: theme,
251
+ children: /*#__PURE__*/_jsx(GroupedItem, {
252
+ icon: "log-out",
253
+ iconColor: dangerColor,
254
+ title: isLoading ? "Signing out..." : "Sign Out",
255
+ theme: theme,
256
+ onPress: confirmLogout,
257
+ isFirst: true,
258
+ isLast: true,
259
+ showChevron: false,
260
+ disabled: isLoading,
261
+ customContent: isLoading ? /*#__PURE__*/_jsx(ActivityIndicator, {
262
+ color: dangerColor,
263
+ size: "small",
264
+ style: {
265
+ marginRight: 16
266
+ }
267
+ }) : null
268
+ })
269
+ }), /*#__PURE__*/_jsx(View, {
270
+ style: styles.versionContainer,
271
+ children: /*#__PURE__*/_jsxs(Text, {
272
+ style: [styles.versionText, {
273
+ color: isDarkTheme ? '#666666' : '#999999'
274
+ }],
275
+ children: ["Version ", packageInfo.version]
276
+ })
277
+ })]
278
+ })]
279
+ });
280
+ };
281
+ const styles = StyleSheet.create({
282
+ container: {
283
+ flex: 1
284
+ },
285
+ scrollView: {
286
+ flex: 1
287
+ },
288
+ scrollContainer: {
289
+ padding: 16,
290
+ paddingBottom: 20
291
+ },
292
+ versionContainer: {
293
+ alignItems: 'center',
294
+ marginTop: 20,
295
+ marginBottom: 20
296
+ },
297
+ versionText: {
298
+ fontSize: 12,
299
+ fontFamily: fontFamilies.phudu
300
+ },
301
+ message: {
302
+ fontSize: 16,
303
+ textAlign: 'center',
304
+ marginTop: 24
305
+ }
306
+ });
307
+ export default AccountCenterScreen;
308
+ //# sourceMappingURL=AccountCenterScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Text","StyleSheet","ActivityIndicator","ScrollView","Alert","Platform","useOxy","packageInfo","toast","fontFamilies","ProfileCard","Section","QuickActions","GroupedSection","GroupedItem","jsx","_jsx","jsxs","_jsxs","AccountCenterScreen","onClose","theme","navigate","user","logout","isLoading","sessions","isDarkTheme","textColor","backgroundColor","secondaryBackgroundColor","borderColor","primaryColor","dangerColor","handleLogout","error","console","confirmLogout","alert","text","style","onPress","cancelable","styles","container","children","message","color","justifyContent","size","onEditPress","activeTab","onClosePress","showCloseButton","scrollView","contentContainerStyle","scrollContainer","showsVerticalScrollIndicator","title","isFirst","actions","id","icon","iconColor","isPremium","length","items","subtitle","OS","info","isLast","showChevron","disabled","customContent","marginRight","versionContainer","versionText","version","create","flex","padding","paddingBottom","alignItems","marginTop","marginBottom","fontSize","fontFamily","phudu","textAlign"],"sourceRoot":"../../../../src","sources":["ui/screens/AccountCenterScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACIC,IAAI,EACJC,IAAI,EAEJC,UAAU,EACVC,iBAAiB,EACjBC,UAAU,EACVC,KAAK,EACLC,QAAQ,QACL,cAAc;AAErB,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,WAAW,QAAQ,yBAAyB;AACrD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SACIC,WAAW,EACXC,OAAO,EACPC,YAAY,EACZC,cAAc,EACdC,WAAW,QACR,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC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