@oxyhq/services 5.4.0 → 5.4.2

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 (395) hide show
  1. package/package.json +3 -2
  2. package/src/__tests__/ui/screens/AccountSettingsScreen.test.tsx +8 -8
  3. package/src/core/index.ts +103 -0
  4. package/src/lib/sonner.ts +9 -4
  5. package/src/ui/components/OxyProvider.tsx +5 -5
  6. package/src/ui/context/OxyContext.tsx +61 -41
  7. package/src/ui/screens/AccountManagementDemo.tsx +1 -1
  8. package/src/ui/screens/AccountOverviewScreen.tsx +44 -26
  9. package/src/ui/screens/AccountSettingsScreen.tsx +25 -19
  10. package/src/ui/screens/AppInfoScreen.tsx +5 -5
  11. package/src/ui/screens/FileManagementScreen.tsx +246 -211
  12. package/src/ui/screens/SignInScreen.tsx +382 -326
  13. package/src/ui/screens/SignUpScreen.tsx +443 -273
  14. package/src/ui/screens/karma/KarmaFAQScreen.tsx +50 -29
  15. package/lib/commonjs/assets/OxyLogo.svg +0 -1
  16. package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
  17. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  18. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  19. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  20. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  21. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  22. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  23. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  24. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -67
  25. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
  26. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  27. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  28. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  29. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  30. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  31. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  32. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  33. package/lib/commonjs/assets/icons/OxyServices.js +0 -53
  34. package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
  35. package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
  36. package/lib/commonjs/constants/version.js +0 -28
  37. package/lib/commonjs/constants/version.js.map +0 -1
  38. package/lib/commonjs/core/index.js +0 -1543
  39. package/lib/commonjs/core/index.js.map +0 -1
  40. package/lib/commonjs/index.js +0 -160
  41. package/lib/commonjs/index.js.map +0 -1
  42. package/lib/commonjs/lib/react-native-polyfills.js +0 -181
  43. package/lib/commonjs/lib/react-native-polyfills.js.map +0 -1
  44. package/lib/commonjs/lib/sonner-safe.js +0 -41
  45. package/lib/commonjs/lib/sonner-safe.js.map +0 -1
  46. package/lib/commonjs/lib/sonner.js +0 -18
  47. package/lib/commonjs/lib/sonner.js.map +0 -1
  48. package/lib/commonjs/lib/sonner.web.js +0 -17
  49. package/lib/commonjs/lib/sonner.web.js.map +0 -1
  50. package/lib/commonjs/models/interfaces.js +0 -2
  51. package/lib/commonjs/models/interfaces.js.map +0 -1
  52. package/lib/commonjs/models/secureSession.js +0 -2
  53. package/lib/commonjs/models/secureSession.js.map +0 -1
  54. package/lib/commonjs/node/index.js +0 -54
  55. package/lib/commonjs/node/index.js.map +0 -1
  56. package/lib/commonjs/package.json +0 -1
  57. package/lib/commonjs/ui/components/Avatar.js +0 -98
  58. package/lib/commonjs/ui/components/Avatar.js.map +0 -1
  59. package/lib/commonjs/ui/components/FollowButton.js +0 -246
  60. package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
  61. package/lib/commonjs/ui/components/FontLoader.js +0 -181
  62. package/lib/commonjs/ui/components/FontLoader.js.map +0 -1
  63. package/lib/commonjs/ui/components/GroupedItem.js +0 -109
  64. package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
  65. package/lib/commonjs/ui/components/GroupedSection.js +0 -33
  66. package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
  67. package/lib/commonjs/ui/components/OxyLogo.js +0 -56
  68. package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
  69. package/lib/commonjs/ui/components/OxyProvider.js +0 -517
  70. package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
  71. package/lib/commonjs/ui/components/OxySignInButton.js +0 -178
  72. package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
  73. package/lib/commonjs/ui/components/ProfileCard.js +0 -124
  74. package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
  75. package/lib/commonjs/ui/components/QuickActions.js +0 -87
  76. package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
  77. package/lib/commonjs/ui/components/Section.js +0 -36
  78. package/lib/commonjs/ui/components/Section.js.map +0 -1
  79. package/lib/commonjs/ui/components/SectionTitle.js +0 -35
  80. package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
  81. package/lib/commonjs/ui/components/bottomSheet/index.js +0 -37
  82. package/lib/commonjs/ui/components/bottomSheet/index.js.map +0 -1
  83. package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -27
  84. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
  85. package/lib/commonjs/ui/components/icon/index.js +0 -14
  86. package/lib/commonjs/ui/components/icon/index.js.map +0 -1
  87. package/lib/commonjs/ui/components/index.js +0 -97
  88. package/lib/commonjs/ui/components/index.js.map +0 -1
  89. package/lib/commonjs/ui/context/OxyContext.js +0 -568
  90. package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
  91. package/lib/commonjs/ui/index.js +0 -128
  92. package/lib/commonjs/ui/index.js.map +0 -1
  93. package/lib/commonjs/ui/navigation/OxyRouter.js +0 -264
  94. package/lib/commonjs/ui/navigation/OxyRouter.js.map +0 -1
  95. package/lib/commonjs/ui/navigation/types.js +0 -6
  96. package/lib/commonjs/ui/navigation/types.js.map +0 -1
  97. package/lib/commonjs/ui/screens/AccountCenterScreen.js +0 -313
  98. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +0 -1
  99. package/lib/commonjs/ui/screens/AccountManagementDemo.js +0 -299
  100. package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +0 -1
  101. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -837
  102. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
  103. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -836
  104. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
  105. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +0 -788
  106. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +0 -1
  107. package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -664
  108. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
  109. package/lib/commonjs/ui/screens/BillingManagementScreen.js +0 -636
  110. package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +0 -1
  111. package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -2497
  112. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
  113. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -1620
  114. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  115. package/lib/commonjs/ui/screens/ProfileScreen.js +0 -450
  116. package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
  117. package/lib/commonjs/ui/screens/SessionManagementScreen.js +0 -449
  118. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
  119. package/lib/commonjs/ui/screens/SignInScreen.js +0 -956
  120. package/lib/commonjs/ui/screens/SignInScreen.js.map +0 -1
  121. package/lib/commonjs/ui/screens/SignUpScreen.js +0 -762
  122. package/lib/commonjs/ui/screens/SignUpScreen.js.map +0 -1
  123. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -88
  124. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
  125. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +0 -364
  126. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
  127. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -202
  128. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
  129. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +0 -148
  130. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
  131. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +0 -127
  132. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
  133. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +0 -105
  134. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
  135. package/lib/commonjs/ui/styles/FONTS.md +0 -126
  136. package/lib/commonjs/ui/styles/fonts.js +0 -84
  137. package/lib/commonjs/ui/styles/fonts.js.map +0 -1
  138. package/lib/commonjs/ui/styles/index.js +0 -28
  139. package/lib/commonjs/ui/styles/index.js.map +0 -1
  140. package/lib/commonjs/ui/styles/theme.js +0 -121
  141. package/lib/commonjs/ui/styles/theme.js.map +0 -1
  142. package/lib/commonjs/utils/deviceManager.js +0 -173
  143. package/lib/commonjs/utils/deviceManager.js.map +0 -1
  144. package/lib/commonjs/utils/index.js +0 -13
  145. package/lib/commonjs/utils/index.js.map +0 -1
  146. package/lib/commonjs/utils/polyfills.js +0 -42
  147. package/lib/commonjs/utils/polyfills.js.map +0 -1
  148. package/lib/module/assets/OxyLogo.svg +0 -1
  149. package/lib/module/assets/assets/OxyLogo.svg +0 -1
  150. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  151. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  152. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  153. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  154. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  155. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  156. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  157. package/lib/module/assets/assets/icons/OxyServices.tsx +0 -67
  158. package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
  159. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  160. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  161. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  162. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  163. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  164. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  165. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  166. package/lib/module/assets/icons/OxyServices.js +0 -46
  167. package/lib/module/assets/icons/OxyServices.js.map +0 -1
  168. package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
  169. package/lib/module/constants/version.js +0 -21
  170. package/lib/module/constants/version.js.map +0 -1
  171. package/lib/module/core/index.js +0 -1517
  172. package/lib/module/core/index.js.map +0 -1
  173. package/lib/module/index.js +0 -48
  174. package/lib/module/index.js.map +0 -1
  175. package/lib/module/lib/react-native-polyfills.js +0 -179
  176. package/lib/module/lib/react-native-polyfills.js.map +0 -1
  177. package/lib/module/lib/sonner-safe.js +0 -37
  178. package/lib/module/lib/sonner-safe.js.map +0 -1
  179. package/lib/module/lib/sonner.js +0 -8
  180. package/lib/module/lib/sonner.js.map +0 -1
  181. package/lib/module/lib/sonner.web.js +0 -4
  182. package/lib/module/lib/sonner.web.js.map +0 -1
  183. package/lib/module/models/interfaces.js +0 -2
  184. package/lib/module/models/interfaces.js.map +0 -1
  185. package/lib/module/models/secureSession.js +0 -2
  186. package/lib/module/models/secureSession.js.map +0 -1
  187. package/lib/module/node/index.js +0 -23
  188. package/lib/module/node/index.js.map +0 -1
  189. package/lib/module/package.json +0 -1
  190. package/lib/module/ui/components/Avatar.js +0 -93
  191. package/lib/module/ui/components/Avatar.js.map +0 -1
  192. package/lib/module/ui/components/FollowButton.js +0 -241
  193. package/lib/module/ui/components/FollowButton.js.map +0 -1
  194. package/lib/module/ui/components/FontLoader.js +0 -176
  195. package/lib/module/ui/components/FontLoader.js.map +0 -1
  196. package/lib/module/ui/components/GroupedItem.js +0 -104
  197. package/lib/module/ui/components/GroupedItem.js.map +0 -1
  198. package/lib/module/ui/components/GroupedSection.js +0 -28
  199. package/lib/module/ui/components/GroupedSection.js.map +0 -1
  200. package/lib/module/ui/components/OxyLogo.js +0 -49
  201. package/lib/module/ui/components/OxyLogo.js.map +0 -1
  202. package/lib/module/ui/components/OxyProvider.js +0 -511
  203. package/lib/module/ui/components/OxyProvider.js.map +0 -1
  204. package/lib/module/ui/components/OxySignInButton.js +0 -172
  205. package/lib/module/ui/components/OxySignInButton.js.map +0 -1
  206. package/lib/module/ui/components/ProfileCard.js +0 -119
  207. package/lib/module/ui/components/ProfileCard.js.map +0 -1
  208. package/lib/module/ui/components/QuickActions.js +0 -82
  209. package/lib/module/ui/components/QuickActions.js.map +0 -1
  210. package/lib/module/ui/components/Section.js +0 -31
  211. package/lib/module/ui/components/Section.js.map +0 -1
  212. package/lib/module/ui/components/SectionTitle.js +0 -30
  213. package/lib/module/ui/components/SectionTitle.js.map +0 -1
  214. package/lib/module/ui/components/bottomSheet/index.js +0 -5
  215. package/lib/module/ui/components/bottomSheet/index.js.map +0 -1
  216. package/lib/module/ui/components/icon/OxyIcon.js +0 -22
  217. package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
  218. package/lib/module/ui/components/icon/index.js +0 -4
  219. package/lib/module/ui/components/icon/index.js.map +0 -1
  220. package/lib/module/ui/components/index.js +0 -18
  221. package/lib/module/ui/components/index.js.map +0 -1
  222. package/lib/module/ui/context/OxyContext.js +0 -563
  223. package/lib/module/ui/context/OxyContext.js.map +0 -1
  224. package/lib/module/ui/index.js +0 -24
  225. package/lib/module/ui/index.js.map +0 -1
  226. package/lib/module/ui/navigation/OxyRouter.js +0 -257
  227. package/lib/module/ui/navigation/OxyRouter.js.map +0 -1
  228. package/lib/module/ui/navigation/types.js +0 -4
  229. package/lib/module/ui/navigation/types.js.map +0 -1
  230. package/lib/module/ui/screens/AccountCenterScreen.js +0 -308
  231. package/lib/module/ui/screens/AccountCenterScreen.js.map +0 -1
  232. package/lib/module/ui/screens/AccountManagementDemo.js +0 -296
  233. package/lib/module/ui/screens/AccountManagementDemo.js.map +0 -1
  234. package/lib/module/ui/screens/AccountOverviewScreen.js +0 -831
  235. package/lib/module/ui/screens/AccountOverviewScreen.js.map +0 -1
  236. package/lib/module/ui/screens/AccountSettingsScreen.js +0 -830
  237. package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
  238. package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -782
  239. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
  240. package/lib/module/ui/screens/AppInfoScreen.js +0 -658
  241. package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
  242. package/lib/module/ui/screens/BillingManagementScreen.js +0 -631
  243. package/lib/module/ui/screens/BillingManagementScreen.js.map +0 -1
  244. package/lib/module/ui/screens/FileManagementScreen.js +0 -2492
  245. package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
  246. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -1615
  247. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  248. package/lib/module/ui/screens/ProfileScreen.js +0 -444
  249. package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
  250. package/lib/module/ui/screens/SessionManagementScreen.js +0 -444
  251. package/lib/module/ui/screens/SessionManagementScreen.js.map +0 -1
  252. package/lib/module/ui/screens/SignInScreen.js +0 -950
  253. package/lib/module/ui/screens/SignInScreen.js.map +0 -1
  254. package/lib/module/ui/screens/SignUpScreen.js +0 -755
  255. package/lib/module/ui/screens/SignUpScreen.js.map +0 -1
  256. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -83
  257. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
  258. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +0 -358
  259. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
  260. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +0 -197
  261. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
  262. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -142
  263. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
  264. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +0 -122
  265. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
  266. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +0 -100
  267. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
  268. package/lib/module/ui/styles/FONTS.md +0 -126
  269. package/lib/module/ui/styles/fonts.js +0 -81
  270. package/lib/module/ui/styles/fonts.js.map +0 -1
  271. package/lib/module/ui/styles/index.js +0 -5
  272. package/lib/module/ui/styles/index.js.map +0 -1
  273. package/lib/module/ui/styles/theme.js +0 -114
  274. package/lib/module/ui/styles/theme.js.map +0 -1
  275. package/lib/module/utils/deviceManager.js +0 -167
  276. package/lib/module/utils/deviceManager.js.map +0 -1
  277. package/lib/module/utils/index.js +0 -4
  278. package/lib/module/utils/index.js.map +0 -1
  279. package/lib/module/utils/polyfills.js +0 -36
  280. package/lib/module/utils/polyfills.js.map +0 -1
  281. package/lib/typescript/assets/icons/OxyServices.d.ts +0 -29
  282. package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
  283. package/lib/typescript/constants/version.d.ts +0 -14
  284. package/lib/typescript/constants/version.d.ts.map +0 -1
  285. package/lib/typescript/core/index.d.ts +0 -563
  286. package/lib/typescript/core/index.d.ts.map +0 -1
  287. package/lib/typescript/index.d.ts +0 -20
  288. package/lib/typescript/index.d.ts.map +0 -1
  289. package/lib/typescript/lib/react-native-polyfills.d.ts +0 -8
  290. package/lib/typescript/lib/react-native-polyfills.d.ts.map +0 -1
  291. package/lib/typescript/lib/sonner-safe.d.ts +0 -11
  292. package/lib/typescript/lib/sonner-safe.d.ts.map +0 -1
  293. package/lib/typescript/lib/sonner.d.ts +0 -3
  294. package/lib/typescript/lib/sonner.d.ts.map +0 -1
  295. package/lib/typescript/lib/sonner.web.d.ts +0 -2
  296. package/lib/typescript/lib/sonner.web.d.ts.map +0 -1
  297. package/lib/typescript/models/interfaces.d.ts +0 -179
  298. package/lib/typescript/models/interfaces.d.ts.map +0 -1
  299. package/lib/typescript/models/secureSession.d.ts +0 -27
  300. package/lib/typescript/models/secureSession.d.ts.map +0 -1
  301. package/lib/typescript/node/index.d.ts +0 -11
  302. package/lib/typescript/node/index.d.ts.map +0 -1
  303. package/lib/typescript/ui/components/Avatar.d.ts +0 -62
  304. package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
  305. package/lib/typescript/ui/components/FollowButton.d.ts +0 -92
  306. package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
  307. package/lib/typescript/ui/components/FontLoader.d.ts +0 -15
  308. package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
  309. package/lib/typescript/ui/components/GroupedItem.d.ts +0 -17
  310. package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
  311. package/lib/typescript/ui/components/GroupedSection.d.ts +0 -19
  312. package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
  313. package/lib/typescript/ui/components/OxyLogo.d.ts +0 -29
  314. package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
  315. package/lib/typescript/ui/components/OxyProvider.d.ts +0 -12
  316. package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
  317. package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -70
  318. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
  319. package/lib/typescript/ui/components/ProfileCard.d.ts +0 -20
  320. package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
  321. package/lib/typescript/ui/components/QuickActions.d.ts +0 -15
  322. package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
  323. package/lib/typescript/ui/components/Section.d.ts +0 -11
  324. package/lib/typescript/ui/components/Section.d.ts.map +0 -1
  325. package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
  326. package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
  327. package/lib/typescript/ui/components/bottomSheet/index.d.ts +0 -4
  328. package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +0 -1
  329. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -10
  330. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
  331. package/lib/typescript/ui/components/icon/index.d.ts +0 -3
  332. package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
  333. package/lib/typescript/ui/components/index.d.ts +0 -13
  334. package/lib/typescript/ui/components/index.d.ts.map +0 -1
  335. package/lib/typescript/ui/context/OxyContext.d.ts +0 -42
  336. package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
  337. package/lib/typescript/ui/index.d.ts +0 -15
  338. package/lib/typescript/ui/index.d.ts.map +0 -1
  339. package/lib/typescript/ui/navigation/OxyRouter.d.ts +0 -5
  340. package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +0 -1
  341. package/lib/typescript/ui/navigation/types.d.ts +0 -116
  342. package/lib/typescript/ui/navigation/types.d.ts.map +0 -1
  343. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -5
  344. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
  345. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +0 -8
  346. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +0 -1
  347. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -5
  348. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
  349. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -5
  350. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  351. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -5
  352. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
  353. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -5
  354. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
  355. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +0 -5
  356. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +0 -1
  357. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -8
  358. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
  359. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  360. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  361. package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -9
  362. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
  363. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -5
  364. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
  365. package/lib/typescript/ui/screens/SignInScreen.d.ts +0 -5
  366. package/lib/typescript/ui/screens/SignInScreen.d.ts.map +0 -1
  367. package/lib/typescript/ui/screens/SignUpScreen.d.ts +0 -5
  368. package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +0 -1
  369. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -5
  370. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
  371. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -5
  372. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
  373. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -5
  374. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
  375. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -5
  376. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
  377. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -5
  378. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
  379. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -5
  380. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
  381. package/lib/typescript/ui/styles/fonts.d.ts +0 -21
  382. package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
  383. package/lib/typescript/ui/styles/index.d.ts +0 -3
  384. package/lib/typescript/ui/styles/index.d.ts.map +0 -1
  385. package/lib/typescript/ui/styles/theme.d.ts +0 -68
  386. package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
  387. package/lib/typescript/utils/deviceManager.d.ts +0 -66
  388. package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
  389. package/lib/typescript/utils/index.d.ts +0 -3
  390. package/lib/typescript/utils/index.d.ts.map +0 -1
  391. package/lib/typescript/utils/polyfills.d.ts +0 -6
  392. package/lib/typescript/utils/polyfills.d.ts.map +0 -1
  393. package/src/lib/react-native-polyfills.ts +0 -219
  394. package/src/lib/sonner-safe.ts +0 -37
  395. package/src/lib/sonner.web.ts +0 -1
@@ -1,126 +0,0 @@
1
- # Font Implementation Guide
2
-
3
- ## Overview
4
- This document explains how custom fonts are implemented in the OxyProvider UI components.
5
-
6
- ## Implementation Details
7
-
8
- ### Fonts Used
9
- - **Phudu Font Family**: Used for all big titles in the application for a consistent brand experience.
10
- - File location: `src/assets/fonts/Phudu/` directory containing:
11
- - Phudu-Light.ttf (weight: 300)
12
- - Phudu-Regular.ttf (weight: 400)
13
- - Phudu-Medium.ttf (weight: 500)
14
- - Phudu-SemiBold.ttf (weight: 600)
15
- - Phudu-Bold.ttf (weight: 700)
16
- - Phudu-ExtraBold.ttf (weight: 800)
17
- - Phudu-Black.ttf (weight: 900)
18
-
19
- ### How to Use
20
- The font system has been implemented across all UI components. To use the fonts in your custom components:
21
-
22
- ```javascript
23
- // Import the font styles
24
- import { fontStyles, fontFamilies } from '@oxyhq/services';
25
-
26
- // Use in your component styles
27
- const styles = StyleSheet.create({
28
- myTitle: {
29
- ...fontStyles.titleLarge,
30
- color: '#333333',
31
- },
32
- myCustomHeading: {
33
- fontFamily: fontFamilies.phudu,
34
- fontSize: 28,
35
- fontWeight: '600',
36
- }
37
- });
38
- ```
39
-
40
- ### Available Font Styles
41
- - `titleLarge`: 34px, bold - For main screen titles
42
- - `titleMedium`: 24px, bold - For section headings
43
- - `titleSmall`: 20px, bold - For subsection headings
44
-
45
- ### Font Loading
46
- The OxyProvider component automatically handles font loading using the FontLoader component.
47
-
48
- #### For Expo projects
49
- Fonts are loaded automatically via `expo-font` when you use the `OxyProvider` component.
50
-
51
- #### For React Native projects (non-Expo)
52
- Call the `setupFonts` function at your app's entry point:
53
-
54
- ```javascript
55
- import { setupFonts } from '@oxyhq/services';
56
-
57
- // Call this before rendering your app
58
- setupFonts();
59
-
60
- // Then render your app with OxyProvider
61
- const App = () => (
62
- <OxyProvider>
63
- {/* Your app content */}
64
- </OxyProvider>
65
- );
66
- ```
67
-
68
- Also ensure the font files are properly linked in your native projects:
69
- - For iOS: Add the font file to Xcode project and add entry to Info.plist
70
- - For Android: Place the font in android/app/src/main/assets/fonts/
71
-
72
- #### For Web projects
73
- The `setupFonts` function will dynamically add the necessary @font-face CSS to load the Phudu font.
74
- The font will be automatically located if you use a bundler that supports asset imports.
75
-
76
- If automatic resolution fails, the library will look for the font files in the `/assets/fonts/Phudu/` directory in your web build.
77
-
78
- To customize the font paths for web, modify the `setupFonts` function in your own implementation:
79
-
80
- ```javascript
81
- // Custom implementation
82
- import { setupFonts as originalSetupFonts } from '@oxyhq/services';
83
-
84
- export const setupFonts = () => {
85
- // Your custom font loading logic for web
86
- if (typeof document !== 'undefined') {
87
- const style = document.createElement('style');
88
-
89
- // Add custom @font-face rules with your own font paths
90
- const customFontPathBase = '/path/to/your/fonts/Phudu/';
91
-
92
- style.textContent = `
93
- @font-face {
94
- font-family: 'Phudu';
95
- src: url('${customFontPathBase}Phudu-Regular.ttf') format('truetype');
96
- font-weight: 400;
97
- font-style: normal;
98
- }
99
- @font-face {
100
- font-family: 'Phudu';
101
- src: url('${customFontPathBase}Phudu-Bold.ttf') format('truetype');
102
- font-weight: 700;
103
- font-style: normal;
104
- }
105
- /* Add other weights as needed */
106
- `;
107
-
108
- document.head.appendChild(style);
109
- } else {
110
- // Use the original implementation for native platforms
111
- originalSetupFonts();
112
- }
113
- };
114
- ```
115
-
116
- ### Platform Support
117
- - **iOS/Android**: Loaded as individual font files ('Phudu-Regular', 'Phudu-Bold', etc.)
118
- - **Web**: Uses the font name 'Phudu' with specific weights via CSS weight property
119
-
120
- ### Custom Font Implementation
121
- If you want to add additional fonts:
122
-
123
- 1. Add the font file to `src/assets/fonts/`
124
- 2. Update the `fontFamilies` object in `src/ui/styles/fonts.ts`
125
- 3. Update the `FontLoader` component in `src/ui/components/FontLoader.tsx`
126
- 4. For web support, include the font in your web project's CSS
@@ -1,81 +0,0 @@
1
- "use strict";
2
-
3
- import { Platform } from 'react-native';
4
-
5
- /**
6
- * Font family names for use across the app
7
- *
8
- * For web platforms, we use the CSS font name with weights
9
- * For native platforms, we use the specific static font file names
10
- */
11
- export const fontFamilies = {
12
- // Regular weight (400)
13
- phudu: Platform.select({
14
- web: 'Phudu',
15
- // Web projects will use standard CSS font name
16
- default: 'Phudu-Regular' // Native projects use the specific weight font
17
- }),
18
- // Light weight (300)
19
- phuduLight: Platform.select({
20
- web: 'Phudu',
21
- // Web uses CSS weight
22
- default: 'Phudu-Light' // Native uses specific font
23
- }),
24
- // Medium weight (500)
25
- phuduMedium: Platform.select({
26
- web: 'Phudu',
27
- // Web uses CSS weight
28
- default: 'Phudu-Medium' // Native uses specific font
29
- }),
30
- // SemiBold weight (600)
31
- phuduSemiBold: Platform.select({
32
- web: 'Phudu',
33
- // Web uses CSS weight
34
- default: 'Phudu-SemiBold' // Native uses specific font
35
- }),
36
- // Bold weight (700)
37
- phuduBold: Platform.select({
38
- web: 'Phudu',
39
- // Web uses CSS weight
40
- default: 'Phudu-Bold' // Native uses specific font
41
- }),
42
- // ExtraBold weight (800)
43
- phuduExtraBold: Platform.select({
44
- web: 'Phudu',
45
- // Web uses CSS weight
46
- default: 'Phudu-ExtraBold' // Native uses specific font
47
- }),
48
- // Black weight (900)
49
- phuduBlack: Platform.select({
50
- web: 'Phudu',
51
- // Web uses CSS weight
52
- default: 'Phudu-Black' // Native uses specific font
53
- })
54
- };
55
-
56
- /**
57
- * Font styles that can be reused across the app
58
- */
59
- export const fontStyles = {
60
- titleLarge: {
61
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
62
- fontSize: 54,
63
- fontWeight: Platform.OS === 'web' ? 'bold' : undefined // Only apply fontWeight on web
64
- },
65
- titleMedium: {
66
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
67
- fontSize: 24,
68
- fontWeight: Platform.OS === 'web' ? 'bold' : undefined // Only apply fontWeight on web
69
- },
70
- titleSmall: {
71
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
72
- fontSize: 20,
73
- fontWeight: Platform.OS === 'web' ? 'bold' : undefined // Only apply fontWeight on web
74
- },
75
- buttonText: {
76
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-SemiBold',
77
- fontSize: 16,
78
- fontWeight: Platform.OS === 'web' ? '600' : undefined // Only apply fontWeight on web
79
- }
80
- };
81
- //# sourceMappingURL=fonts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","fontFamilies","phudu","select","web","default","phuduLight","phuduMedium","phuduSemiBold","phuduBold","phuduExtraBold","phuduBlack","fontStyles","titleLarge","fontFamily","OS","fontSize","fontWeight","undefined","titleMedium","titleSmall","buttonText"],"sourceRoot":"../../../../src","sources":["ui/styles/fonts.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAmB,cAAc;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAG;EAC1B;EACAC,KAAK,EAAEF,QAAQ,CAACG,MAAM,CAAC;IACrBC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,eAAe,CAAE;EAC5B,CAAC,CAAC;EAEF;EACAC,UAAU,EAAEN,QAAQ,CAACG,MAAM,CAAC;IAC1BC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,aAAa,CAAE;EAC1B,CAAC,CAAC;EAEF;EACAE,WAAW,EAAEP,QAAQ,CAACG,MAAM,CAAC;IAC3BC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,cAAc,CAAE;EAC3B,CAAC,CAAC;EAEF;EACAG,aAAa,EAAER,QAAQ,CAACG,MAAM,CAAC;IAC7BC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,gBAAgB,CAAE;EAC7B,CAAC,CAAC;EAEF;EACAI,SAAS,EAAET,QAAQ,CAACG,MAAM,CAAC;IACzBC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,YAAY,CAAE;EACzB,CAAC,CAAC;EAEF;EACAK,cAAc,EAAEV,QAAQ,CAACG,MAAM,CAAC;IAC9BC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,iBAAiB,CAAE;EAC9B,CAAC,CAAC;EAEF;EACAM,UAAU,EAAEX,QAAQ,CAACG,MAAM,CAAC;IAC1BC,GAAG,EAAE,OAAO;IAAG;IACfC,OAAO,EAAE,aAAa,CAAE;EAC1B,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMO,UAAqC,GAAG;EACnDC,UAAU,EAAE;IACVC,UAAU,EAAEd,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,YAAY;IAC1DC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAEjB,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,MAAM,GAAGG,SAAS,CAAG;EAC3D,CAAC;EACDC,WAAW,EAAE;IACXL,UAAU,EAAEd,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,YAAY;IAC1DC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAEjB,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,MAAM,GAAGG,SAAS,CAAG;EAC3D,CAAC;EACDE,UAAU,EAAE;IACVN,UAAU,EAAEd,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,YAAY;IAC1DC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAEjB,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,MAAM,GAAGG,SAAS,CAAG;EAC3D,CAAC;EACDG,UAAU,EAAE;IACVP,UAAU,EAAEd,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,gBAAgB;IAC9DC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAEjB,QAAQ,CAACe,EAAE,KAAK,KAAK,GAAG,KAAK,GAAGG,SAAS,CAAG;EAC1D;AACF,CAAC","ignoreList":[]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- export * from './fonts';
4
- export * from './theme';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["ui/styles/index.ts"],"mappings":";;AAAA,cAAc,SAAS;AACvB,cAAc,SAAS","ignoreList":[]}
@@ -1,114 +0,0 @@
1
- "use strict";
2
-
3
- import { Platform, StyleSheet } from 'react-native';
4
- import { fontFamilies } from './fonts';
5
- const lightColors = {
6
- text: '#000000',
7
- background: '#FFFFFF',
8
- inputBackground: '#F5F5F5',
9
- placeholder: '#999999',
10
- primary: '#d169e5',
11
- border: '#E0E0E0',
12
- error: '#D32F2F',
13
- success: '#2E7D32',
14
- warning: '#F57C00',
15
- secondaryText: '#666666'
16
- };
17
- const darkColors = {
18
- text: '#FFFFFF',
19
- background: '#121212',
20
- inputBackground: '#333333',
21
- placeholder: '#AAAAAA',
22
- primary: '#d169e5',
23
- border: '#444444',
24
- error: '#EF5350',
25
- success: '#81C784',
26
- warning: '#FFB74D',
27
- secondaryText: '#BBBBBB'
28
- };
29
- const createTheme = isDark => {
30
- const colors = isDark ? darkColors : lightColors;
31
- return {
32
- colors,
33
- fonts: {
34
- title: {
35
- fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
36
- fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
37
- fontSize: 34
38
- },
39
- body: {
40
- fontSize: 16,
41
- lineHeight: 24
42
- },
43
- button: {
44
- fontFamily: fontFamilies.phuduSemiBold,
45
- fontSize: 16,
46
- fontWeight: '600',
47
- color: '#FFFFFF'
48
- },
49
- label: {
50
- fontSize: 14,
51
- fontWeight: '500',
52
- marginBottom: 8
53
- }
54
- }
55
- };
56
- };
57
- export const getTheme = theme => {
58
- return createTheme(theme === 'dark');
59
- };
60
- export const useThemeColors = theme => {
61
- return getTheme(theme).colors;
62
- };
63
-
64
- // Common styles that can be reused across components
65
- export const createCommonStyles = theme => {
66
- const themeObj = getTheme(theme);
67
- const {
68
- colors
69
- } = themeObj;
70
- return StyleSheet.create({
71
- container: {
72
- backgroundColor: colors.background
73
- },
74
- scrollContainer: {
75
- padding: 10
76
- },
77
- input: {
78
- height: 48,
79
- borderRadius: 35,
80
- paddingHorizontal: 16,
81
- borderWidth: 1,
82
- fontSize: 16,
83
- backgroundColor: colors.inputBackground,
84
- borderColor: colors.border,
85
- color: colors.text
86
- },
87
- button: {
88
- backgroundColor: colors.primary,
89
- height: 48,
90
- borderRadius: 35,
91
- alignItems: 'center',
92
- justifyContent: 'center',
93
- marginTop: 24
94
- },
95
- buttonText: {
96
- fontFamily: fontFamilies.phuduSemiBold,
97
- fontSize: 16,
98
- fontWeight: '600',
99
- color: '#FFFFFF'
100
- },
101
- errorContainer: {
102
- backgroundColor: '#FFEBEE',
103
- padding: 12,
104
- borderRadius: 35,
105
- marginBottom: 16
106
- },
107
- errorText: {
108
- fontSize: 14,
109
- fontWeight: '500',
110
- color: colors.error
111
- }
112
- });
113
- };
114
- //# sourceMappingURL=theme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Platform","StyleSheet","fontFamilies","lightColors","text","background","inputBackground","placeholder","primary","border","error","success","warning","secondaryText","darkColors","createTheme","isDark","colors","fonts","title","fontFamily","OS","fontWeight","undefined","fontSize","body","lineHeight","button","phuduSemiBold","color","label","marginBottom","getTheme","theme","useThemeColors","createCommonStyles","themeObj","create","container","backgroundColor","scrollContainer","padding","input","height","borderRadius","paddingHorizontal","borderWidth","borderColor","alignItems","justifyContent","marginTop","buttonText","errorContainer","errorText"],"sourceRoot":"../../../../src","sources":["ui/styles/theme.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,QAAmB,cAAc;AAC9D,SAASC,YAAY,QAAQ,SAAS;AAyBtC,MAAMC,WAAwB,GAAG;EAC/BC,IAAI,EAAE,SAAS;EACfC,UAAU,EAAE,SAAS;EACrBC,eAAe,EAAE,SAAS;EAC1BC,WAAW,EAAE,SAAS;EACtBC,OAAO,EAAE,SAAS;EAClBC,MAAM,EAAE,SAAS;EACjBC,KAAK,EAAE,SAAS;EAChBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;E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
5
- * Handles persistent device identification across app sessions
6
- */
7
- export class DeviceManager {
8
- static DEVICE_KEY = 'oxy_device_info';
9
-
10
- /**
11
- * Check if we're in React Native environment
12
- */
13
- static isReactNative() {
14
- return typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
15
- }
16
-
17
- /**
18
- * Get appropriate storage for the platform
19
- */
20
- static async getStorage() {
21
- if (this.isReactNative()) {
22
- // Try to import AsyncStorage for React Native
23
- try {
24
- const AsyncStorage = await import('@react-native-async-storage/async-storage');
25
- return AsyncStorage.default;
26
- } catch (error) {
27
- console.error('AsyncStorage not available in React Native:', error);
28
- throw new Error('AsyncStorage is required in React Native environment');
29
- }
30
- } else {
31
- // Use localStorage for web
32
- return {
33
- getItem: async key => localStorage.getItem(key),
34
- setItem: async (key, value) => localStorage.setItem(key, value),
35
- removeItem: async key => localStorage.removeItem(key)
36
- };
37
- }
38
- }
39
-
40
- /**
41
- * Get or create device fingerprint for current device
42
- */
43
- static getDeviceFingerprint() {
44
- const fingerprint = {
45
- userAgent: typeof navigator !== 'undefined' ? navigator.userAgent : 'unknown',
46
- platform: typeof navigator !== 'undefined' ? navigator.platform : 'unknown',
47
- language: typeof navigator !== 'undefined' ? navigator.language : undefined,
48
- timezone: typeof Intl !== 'undefined' ? Intl.DateTimeFormat().resolvedOptions().timeZone : undefined
49
- };
50
-
51
- // Add screen info if available
52
- if (typeof screen !== 'undefined') {
53
- fingerprint.screen = {
54
- width: screen.width,
55
- height: screen.height,
56
- colorDepth: screen.colorDepth
57
- };
58
- }
59
- return fingerprint;
60
- }
61
-
62
- /**
63
- * Get stored device info or create new one
64
- */
65
- static async getDeviceInfo() {
66
- try {
67
- const storage = await this.getStorage();
68
- const stored = await storage.getItem(this.DEVICE_KEY);
69
- if (stored) {
70
- const deviceInfo = JSON.parse(stored);
71
-
72
- // Update last used timestamp
73
- deviceInfo.lastUsed = new Date().toISOString();
74
- await this.saveDeviceInfo(deviceInfo);
75
- return deviceInfo;
76
- }
77
-
78
- // Create new device info
79
- return await this.createNewDeviceInfo();
80
- } catch (error) {
81
- console.error('Error getting device info:', error);
82
- return await this.createNewDeviceInfo();
83
- }
84
- }
85
-
86
- /**
87
- * Create new device info and store it
88
- */
89
- static async createNewDeviceInfo() {
90
- const deviceInfo = {
91
- deviceId: this.generateDeviceId(),
92
- fingerprint: JSON.stringify(this.getDeviceFingerprint()),
93
- createdAt: new Date().toISOString(),
94
- lastUsed: new Date().toISOString()
95
- };
96
- await this.saveDeviceInfo(deviceInfo);
97
- return deviceInfo;
98
- }
99
-
100
- /**
101
- * Save device info to storage
102
- */
103
- static async saveDeviceInfo(deviceInfo) {
104
- try {
105
- const storage = await this.getStorage();
106
- await storage.setItem(this.DEVICE_KEY, JSON.stringify(deviceInfo));
107
- } catch (error) {
108
- console.error('Error saving device info:', error);
109
- }
110
- }
111
-
112
- /**
113
- * Update device name
114
- */
115
- static async updateDeviceName(deviceName) {
116
- try {
117
- const deviceInfo = await this.getDeviceInfo();
118
- deviceInfo.deviceName = deviceName;
119
- await this.saveDeviceInfo(deviceInfo);
120
- } catch (error) {
121
- console.error('Error updating device name:', error);
122
- }
123
- }
124
-
125
- /**
126
- * Clear stored device info (useful for testing or reset)
127
- */
128
- static async clearDeviceInfo() {
129
- try {
130
- const storage = await this.getStorage();
131
- await storage.removeItem(this.DEVICE_KEY);
132
- } catch (error) {
133
- console.error('Error clearing device info:', error);
134
- }
135
- }
136
-
137
- /**
138
- * Generate a unique device ID
139
- */
140
- static generateDeviceId() {
141
- // Use crypto.getRandomValues if available, otherwise fallback to Math.random
142
- if (typeof crypto !== 'undefined' && crypto.getRandomValues) {
143
- const array = new Uint8Array(32);
144
- crypto.getRandomValues(array);
145
- return Array.from(array, byte => byte.toString(16).padStart(2, '0')).join('');
146
- } else {
147
- // Fallback for environments without crypto.getRandomValues
148
- return 'device_' + Date.now().toString(36) + Math.random().toString(36).substr(2);
149
- }
150
- }
151
-
152
- /**
153
- * Get a user-friendly device name based on platform
154
- */
155
- static getDefaultDeviceName() {
156
- const fingerprint = this.getDeviceFingerprint();
157
- const platform = fingerprint.platform.toLowerCase();
158
- if (platform.includes('win')) return 'Windows Computer';
159
- if (platform.includes('mac')) return 'Mac Computer';
160
- if (platform.includes('linux')) return 'Linux Computer';
161
- if (platform.includes('iphone')) return 'iPhone';
162
- if (platform.includes('ipad')) return 'iPad';
163
- if (platform.includes('android')) return 'Android Device';
164
- return 'Unknown Device';
165
- }
166
- }
167
- //# sourceMappingURL=deviceManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["DeviceManager","DEVICE_KEY","isReactNative","navigator","product","getStorage","AsyncStorage","default","error","console","Error","getItem","key","localStorage","setItem","value","removeItem","getDeviceFingerprint","fingerprint","userAgent","platform","language","undefined","timezone","Intl","DateTimeFormat","resolvedOptions","timeZone","screen","width","height","colorDepth","getDeviceInfo","storage","stored","deviceInfo","JSON","parse","lastUsed","Date","toISOString","saveDeviceInfo","createNewDeviceInfo","deviceId","generateDeviceId","stringify","createdAt","updateDeviceName","deviceName","clearDeviceInfo","crypto","getRandomValues","array","Uint8Array","Array","from","byte","toString","padStart","join","now","Math","random","substr","getDefaultDeviceName","toLowerCase","includes"],"sourceRoot":"../../../src","sources":["utils/deviceManager.ts"],"mappings":";;AAoBA;AACA;AACA;AACA;AACA,OAAO,MAAMA,aAAa,CAAC;EACzB,OAAeC,UAAU,GAAG,iBAAiB;;EAE7C;AACF;AACA;EACE,OAAeC,aAAaA,CAAA,EAAY;IACtC,OAAO,OAAOC,SAAS,KAAK,WAAW,IAAIA,SAAS,CAACC,OAAO,KAAK,aAAa;EAChF;;EAEA;AACF;AACA;EACE,aAAqBC,UAAUA,CAAA,EAAG;IAChC,IAAI,IAAI,CAACH,aAAa,CAAC,CAAC,EAAE;MACxB;MACA,IAAI;QACF,MAAMI,YAAY,GAAG,MAAM,MAAM,CAAC,2CAA2C,CAAC;QAC9E,OAAOA,YAAY,CAACC,OAAO;MAC7B,CAAC,CAAC,OAAOC,KAAK,EAAE;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AC,CAAC,CAACH,QAAQ,CAAC,EAAE,CAAC,GAAGI,IAAI,CAACC,MAAM,CAAC,CAAC,CAACL,QAAQ,CAAC,EAAE,CAAC,CAACM,MAAM,CAAC,CAAC,CAAC;IACnF;EACF;;EAEA;AACF;AACA;EACE,OAAOC,oBAAoBA,CAAA,EAAW;IACpC,MAAM9C,WAAW,GAAG,IAAI,CAACD,oBAAoB,CAAC,CAAC;IAC/C,MAAMG,QAAQ,GAAGF,WAAW,CAACE,QAAQ,CAAC6C,WAAW,CAAC,CAAC;IAEnD,IAAI7C,QAAQ,CAAC8C,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,kBAAkB;IACvD,IAAI9C,QAAQ,CAAC8C,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,cAAc;IACnD,IAAI9C,QAAQ,CAAC8C,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,gBAAgB;IACvD,IAAI9C,QAAQ,CAAC8C,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,QAAQ;IAChD,IAAI9C,QAAQ,CAAC8C,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,MAAM;IAC5C,IAAI9C,QAAQ,CAAC8C,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,gBAAgB;IAEzD,OAAO,gBAAgB;EACzB;AACF","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export { DeviceManager } from './deviceManager';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["DeviceManager"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;AAAA,SAASA,aAAa,QAAQ,iBAAiB","ignoreList":[]}
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- /**
4
- * Polyfills for React Native environments that may be missing certain Web APIs
5
- */
6
-
7
- // FormData polyfill for React Native/Hermes environments
8
- if (typeof FormData === 'undefined') {
9
- try {
10
- const FormDataPolyfill = require('form-data');
11
- // Use globalThis which is more universal than global
12
- if (typeof globalThis !== 'undefined') {
13
- globalThis.FormData = FormDataPolyfill;
14
- }
15
- } catch (error) {
16
- console.warn('form-data package not found. File uploads may not work in React Native environments without native FormData support.');
17
- }
18
- }
19
-
20
- // Export a helper to ensure FormData is available
21
- export const ensureFormDataAvailable = () => {
22
- return typeof FormData !== 'undefined' || typeof require !== 'undefined';
23
- };
24
-
25
- // Get FormData constructor (either native or polyfilled)
26
- export const getFormDataConstructor = () => {
27
- if (typeof FormData !== 'undefined') {
28
- return FormData;
29
- }
30
- try {
31
- return require('form-data');
32
- } catch (error) {
33
- throw new Error('FormData is not available and form-data package is not installed. Please install form-data for file upload support.');
34
- }
35
- };
36
- //# sourceMappingURL=polyfills.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["FormData","FormDataPolyfill","require","globalThis","error","console","warn","ensureFormDataAvailable","getFormDataConstructor","Error"],"sourceRoot":"../../../src","sources":["utils/polyfills.ts"],"mappings":";;AAAA;AACA;AACA;;AAEA;AACA,IAAI,OAAOA,QAAQ,KAAK,WAAW,EAAE;EACnC,IAAI;IACF,MAAMC,gBAAgB,GAAGC,OAAO,CAAC,WAAW,CAAC;IAC7C;IACA,IAAI,OAAOC,UAAU,KAAK,WAAW,EAAE;MACpCA,UAAU,CAASH,QAAQ,GAAGC,gBAAgB;IACjD;EACF,CAAC,CAAC,OAAOG,KAAK,EAAE;IACdC,OAAO,CAACC,IAAI,CAAC,sHAAsH,CAAC;EACtI;AACF;;AAEA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CAAA,KAAe;EACpD,OAAO,OAAOP,QAAQ,KAAK,WAAW,IAAI,OAAOE,OAAO,KAAK,WAAW;AAC1E,CAAC;;AAED;AACA,OAAO,MAAMM,sBAAsB,GAAGA,CAAA,KAAW;EAC/C,IAAI,OAAOR,QAAQ,KAAK,WAAW,EAAE;IACnC,OAAOA,QAAQ;EACjB;EAEA,IAAI;IACF,OAAOE,OAAO,CAAC,WAAW,CAAC;EAC7B,CAAC,CAAC,OAAOE,KAAK,EAAE;IACd,MAAM,IAAIK,KAAK,CAAC,qHAAqH,CAAC;EACxI;AACF,CAAC","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { ViewStyle } from 'react-native';
3
- interface OxyLogoProps {
4
- width?: number;
5
- height?: number;
6
- style?: ViewStyle;
7
- /**
8
- * Primary fill color for the logo
9
- * If not provided, the theme's primary color will be used
10
- */
11
- fillColor?: string;
12
- /**
13
- * Secondary fill color for the inner glow effect
14
- * If not provided, a lighter shade of the fillColor will be used
15
- */
16
- secondaryFillColor?: string;
17
- /**
18
- * Theme to use for the logo colors
19
- * @default 'light'
20
- */
21
- theme?: 'light' | 'dark';
22
- }
23
- /**
24
- * SVG logo component for Oxy
25
- * This component renders the Oxy logo as an SVG and uses theme colors by default
26
- */
27
- export declare const OxyServicesLogo: React.FC<OxyLogoProps>;
28
- export default OxyServicesLogo;
29
- //# sourceMappingURL=OxyServices.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OxyServices.d.ts","sourceRoot":"","sources":["../../../../src/assets/icons/OxyServices.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkClD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Package version and metadata constants
3
- * This file is auto-generated to avoid runtime dependency on package.json
4
- */
5
- export declare const packageInfo: {
6
- readonly name: "@oxyhq/services";
7
- readonly version: "5.2.1";
8
- readonly description: "Reusable OxyHQ module to handle authentication, user management, karma system and more 🚀";
9
- readonly main: "lib/commonjs/node/index.js";
10
- readonly module: "lib/module/node/index.js";
11
- readonly types: "lib/typescript/node/index.d.ts";
12
- };
13
- export declare const name: "@oxyhq/services", version: "5.2.1", description: "Reusable OxyHQ module to handle authentication, user management, karma system and more 🚀";
14
- //# sourceMappingURL=version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/constants/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAEX,eAAO,MAAQ,IAAI,qBAAE,OAAO,WAAE,WAAW,6FAAgB,CAAC"}