@oxyhq/services 5.4.1 → 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 (370) hide show
  1. package/package.json +2 -2
  2. package/src/core/index.ts +68 -0
  3. package/src/ui/components/OxyProvider.tsx +5 -5
  4. package/src/ui/context/OxyContext.tsx +61 -41
  5. package/src/ui/screens/AccountOverviewScreen.tsx +44 -26
  6. package/src/ui/screens/AccountSettingsScreen.tsx +24 -18
  7. package/src/ui/screens/FileManagementScreen.tsx +246 -211
  8. package/src/ui/screens/SignInScreen.tsx +382 -326
  9. package/src/ui/screens/SignUpScreen.tsx +443 -273
  10. package/src/ui/screens/karma/KarmaFAQScreen.tsx +50 -29
  11. package/lib/commonjs/assets/OxyLogo.svg +0 -1
  12. package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
  13. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  14. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  15. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  16. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  17. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  18. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  19. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  20. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +0 -67
  21. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
  22. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  23. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  24. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  25. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  26. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  27. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  28. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  29. package/lib/commonjs/assets/icons/OxyServices.js +0 -53
  30. package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
  31. package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
  32. package/lib/commonjs/constants/version.js +0 -28
  33. package/lib/commonjs/constants/version.js.map +0 -1
  34. package/lib/commonjs/core/index.js +0 -1578
  35. package/lib/commonjs/core/index.js.map +0 -1
  36. package/lib/commonjs/index.js +0 -160
  37. package/lib/commonjs/index.js.map +0 -1
  38. package/lib/commonjs/lib/sonner.js +0 -21
  39. package/lib/commonjs/lib/sonner.js.map +0 -1
  40. package/lib/commonjs/models/interfaces.js +0 -2
  41. package/lib/commonjs/models/interfaces.js.map +0 -1
  42. package/lib/commonjs/models/secureSession.js +0 -2
  43. package/lib/commonjs/models/secureSession.js.map +0 -1
  44. package/lib/commonjs/node/index.js +0 -54
  45. package/lib/commonjs/node/index.js.map +0 -1
  46. package/lib/commonjs/package.json +0 -1
  47. package/lib/commonjs/ui/components/Avatar.js +0 -98
  48. package/lib/commonjs/ui/components/Avatar.js.map +0 -1
  49. package/lib/commonjs/ui/components/FollowButton.js +0 -246
  50. package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
  51. package/lib/commonjs/ui/components/FontLoader.js +0 -181
  52. package/lib/commonjs/ui/components/FontLoader.js.map +0 -1
  53. package/lib/commonjs/ui/components/GroupedItem.js +0 -109
  54. package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
  55. package/lib/commonjs/ui/components/GroupedSection.js +0 -33
  56. package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
  57. package/lib/commonjs/ui/components/OxyLogo.js +0 -56
  58. package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
  59. package/lib/commonjs/ui/components/OxyProvider.js +0 -517
  60. package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
  61. package/lib/commonjs/ui/components/OxySignInButton.js +0 -178
  62. package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
  63. package/lib/commonjs/ui/components/ProfileCard.js +0 -124
  64. package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
  65. package/lib/commonjs/ui/components/QuickActions.js +0 -87
  66. package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
  67. package/lib/commonjs/ui/components/Section.js +0 -36
  68. package/lib/commonjs/ui/components/Section.js.map +0 -1
  69. package/lib/commonjs/ui/components/SectionTitle.js +0 -35
  70. package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
  71. package/lib/commonjs/ui/components/bottomSheet/index.js +0 -37
  72. package/lib/commonjs/ui/components/bottomSheet/index.js.map +0 -1
  73. package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -27
  74. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
  75. package/lib/commonjs/ui/components/icon/index.js +0 -14
  76. package/lib/commonjs/ui/components/icon/index.js.map +0 -1
  77. package/lib/commonjs/ui/components/index.js +0 -97
  78. package/lib/commonjs/ui/components/index.js.map +0 -1
  79. package/lib/commonjs/ui/context/OxyContext.js +0 -568
  80. package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
  81. package/lib/commonjs/ui/index.js +0 -128
  82. package/lib/commonjs/ui/index.js.map +0 -1
  83. package/lib/commonjs/ui/navigation/OxyRouter.js +0 -264
  84. package/lib/commonjs/ui/navigation/OxyRouter.js.map +0 -1
  85. package/lib/commonjs/ui/navigation/types.js +0 -6
  86. package/lib/commonjs/ui/navigation/types.js.map +0 -1
  87. package/lib/commonjs/ui/screens/AccountCenterScreen.js +0 -313
  88. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +0 -1
  89. package/lib/commonjs/ui/screens/AccountManagementDemo.js +0 -299
  90. package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +0 -1
  91. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -837
  92. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
  93. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -836
  94. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
  95. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +0 -788
  96. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +0 -1
  97. package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -664
  98. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
  99. package/lib/commonjs/ui/screens/BillingManagementScreen.js +0 -636
  100. package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +0 -1
  101. package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -2497
  102. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
  103. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -1620
  104. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  105. package/lib/commonjs/ui/screens/ProfileScreen.js +0 -450
  106. package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
  107. package/lib/commonjs/ui/screens/SessionManagementScreen.js +0 -449
  108. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
  109. package/lib/commonjs/ui/screens/SignInScreen.js +0 -956
  110. package/lib/commonjs/ui/screens/SignInScreen.js.map +0 -1
  111. package/lib/commonjs/ui/screens/SignUpScreen.js +0 -762
  112. package/lib/commonjs/ui/screens/SignUpScreen.js.map +0 -1
  113. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -88
  114. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
  115. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +0 -364
  116. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
  117. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -202
  118. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
  119. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +0 -148
  120. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
  121. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +0 -127
  122. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
  123. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +0 -105
  124. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
  125. package/lib/commonjs/ui/styles/FONTS.md +0 -126
  126. package/lib/commonjs/ui/styles/fonts.js +0 -84
  127. package/lib/commonjs/ui/styles/fonts.js.map +0 -1
  128. package/lib/commonjs/ui/styles/index.js +0 -28
  129. package/lib/commonjs/ui/styles/index.js.map +0 -1
  130. package/lib/commonjs/ui/styles/theme.js +0 -121
  131. package/lib/commonjs/ui/styles/theme.js.map +0 -1
  132. package/lib/commonjs/utils/deviceManager.js +0 -173
  133. package/lib/commonjs/utils/deviceManager.js.map +0 -1
  134. package/lib/commonjs/utils/index.js +0 -13
  135. package/lib/commonjs/utils/index.js.map +0 -1
  136. package/lib/commonjs/utils/polyfills.js +0 -42
  137. package/lib/commonjs/utils/polyfills.js.map +0 -1
  138. package/lib/module/assets/OxyLogo.svg +0 -1
  139. package/lib/module/assets/assets/OxyLogo.svg +0 -1
  140. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  141. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  142. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  143. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  144. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  145. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  146. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  147. package/lib/module/assets/assets/icons/OxyServices.tsx +0 -67
  148. package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
  149. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  150. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  151. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  152. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  153. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  154. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  155. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  156. package/lib/module/assets/icons/OxyServices.js +0 -46
  157. package/lib/module/assets/icons/OxyServices.js.map +0 -1
  158. package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
  159. package/lib/module/constants/version.js +0 -21
  160. package/lib/module/constants/version.js.map +0 -1
  161. package/lib/module/core/index.js +0 -1552
  162. package/lib/module/core/index.js.map +0 -1
  163. package/lib/module/index.js +0 -48
  164. package/lib/module/index.js.map +0 -1
  165. package/lib/module/lib/sonner.js +0 -16
  166. package/lib/module/lib/sonner.js.map +0 -1
  167. package/lib/module/models/interfaces.js +0 -2
  168. package/lib/module/models/interfaces.js.map +0 -1
  169. package/lib/module/models/secureSession.js +0 -2
  170. package/lib/module/models/secureSession.js.map +0 -1
  171. package/lib/module/node/index.js +0 -23
  172. package/lib/module/node/index.js.map +0 -1
  173. package/lib/module/package.json +0 -1
  174. package/lib/module/ui/components/Avatar.js +0 -93
  175. package/lib/module/ui/components/Avatar.js.map +0 -1
  176. package/lib/module/ui/components/FollowButton.js +0 -241
  177. package/lib/module/ui/components/FollowButton.js.map +0 -1
  178. package/lib/module/ui/components/FontLoader.js +0 -176
  179. package/lib/module/ui/components/FontLoader.js.map +0 -1
  180. package/lib/module/ui/components/GroupedItem.js +0 -104
  181. package/lib/module/ui/components/GroupedItem.js.map +0 -1
  182. package/lib/module/ui/components/GroupedSection.js +0 -28
  183. package/lib/module/ui/components/GroupedSection.js.map +0 -1
  184. package/lib/module/ui/components/OxyLogo.js +0 -49
  185. package/lib/module/ui/components/OxyLogo.js.map +0 -1
  186. package/lib/module/ui/components/OxyProvider.js +0 -511
  187. package/lib/module/ui/components/OxyProvider.js.map +0 -1
  188. package/lib/module/ui/components/OxySignInButton.js +0 -172
  189. package/lib/module/ui/components/OxySignInButton.js.map +0 -1
  190. package/lib/module/ui/components/ProfileCard.js +0 -119
  191. package/lib/module/ui/components/ProfileCard.js.map +0 -1
  192. package/lib/module/ui/components/QuickActions.js +0 -82
  193. package/lib/module/ui/components/QuickActions.js.map +0 -1
  194. package/lib/module/ui/components/Section.js +0 -31
  195. package/lib/module/ui/components/Section.js.map +0 -1
  196. package/lib/module/ui/components/SectionTitle.js +0 -30
  197. package/lib/module/ui/components/SectionTitle.js.map +0 -1
  198. package/lib/module/ui/components/bottomSheet/index.js +0 -5
  199. package/lib/module/ui/components/bottomSheet/index.js.map +0 -1
  200. package/lib/module/ui/components/icon/OxyIcon.js +0 -22
  201. package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
  202. package/lib/module/ui/components/icon/index.js +0 -4
  203. package/lib/module/ui/components/icon/index.js.map +0 -1
  204. package/lib/module/ui/components/index.js +0 -18
  205. package/lib/module/ui/components/index.js.map +0 -1
  206. package/lib/module/ui/context/OxyContext.js +0 -563
  207. package/lib/module/ui/context/OxyContext.js.map +0 -1
  208. package/lib/module/ui/index.js +0 -24
  209. package/lib/module/ui/index.js.map +0 -1
  210. package/lib/module/ui/navigation/OxyRouter.js +0 -257
  211. package/lib/module/ui/navigation/OxyRouter.js.map +0 -1
  212. package/lib/module/ui/navigation/types.js +0 -4
  213. package/lib/module/ui/navigation/types.js.map +0 -1
  214. package/lib/module/ui/screens/AccountCenterScreen.js +0 -308
  215. package/lib/module/ui/screens/AccountCenterScreen.js.map +0 -1
  216. package/lib/module/ui/screens/AccountManagementDemo.js +0 -296
  217. package/lib/module/ui/screens/AccountManagementDemo.js.map +0 -1
  218. package/lib/module/ui/screens/AccountOverviewScreen.js +0 -831
  219. package/lib/module/ui/screens/AccountOverviewScreen.js.map +0 -1
  220. package/lib/module/ui/screens/AccountSettingsScreen.js +0 -830
  221. package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
  222. package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -782
  223. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
  224. package/lib/module/ui/screens/AppInfoScreen.js +0 -658
  225. package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
  226. package/lib/module/ui/screens/BillingManagementScreen.js +0 -631
  227. package/lib/module/ui/screens/BillingManagementScreen.js.map +0 -1
  228. package/lib/module/ui/screens/FileManagementScreen.js +0 -2492
  229. package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
  230. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -1615
  231. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
  232. package/lib/module/ui/screens/ProfileScreen.js +0 -444
  233. package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
  234. package/lib/module/ui/screens/SessionManagementScreen.js +0 -444
  235. package/lib/module/ui/screens/SessionManagementScreen.js.map +0 -1
  236. package/lib/module/ui/screens/SignInScreen.js +0 -950
  237. package/lib/module/ui/screens/SignInScreen.js.map +0 -1
  238. package/lib/module/ui/screens/SignUpScreen.js +0 -755
  239. package/lib/module/ui/screens/SignUpScreen.js.map +0 -1
  240. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -83
  241. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
  242. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +0 -358
  243. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
  244. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +0 -197
  245. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
  246. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -142
  247. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
  248. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +0 -122
  249. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
  250. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +0 -100
  251. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
  252. package/lib/module/ui/styles/FONTS.md +0 -126
  253. package/lib/module/ui/styles/fonts.js +0 -81
  254. package/lib/module/ui/styles/fonts.js.map +0 -1
  255. package/lib/module/ui/styles/index.js +0 -5
  256. package/lib/module/ui/styles/index.js.map +0 -1
  257. package/lib/module/ui/styles/theme.js +0 -114
  258. package/lib/module/ui/styles/theme.js.map +0 -1
  259. package/lib/module/utils/deviceManager.js +0 -167
  260. package/lib/module/utils/deviceManager.js.map +0 -1
  261. package/lib/module/utils/index.js +0 -4
  262. package/lib/module/utils/index.js.map +0 -1
  263. package/lib/module/utils/polyfills.js +0 -36
  264. package/lib/module/utils/polyfills.js.map +0 -1
  265. package/lib/typescript/assets/icons/OxyServices.d.ts +0 -29
  266. package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
  267. package/lib/typescript/constants/version.d.ts +0 -14
  268. package/lib/typescript/constants/version.d.ts.map +0 -1
  269. package/lib/typescript/core/index.d.ts +0 -579
  270. package/lib/typescript/core/index.d.ts.map +0 -1
  271. package/lib/typescript/index.d.ts +0 -20
  272. package/lib/typescript/index.d.ts.map +0 -1
  273. package/lib/typescript/lib/sonner.d.ts +0 -6
  274. package/lib/typescript/lib/sonner.d.ts.map +0 -1
  275. package/lib/typescript/models/interfaces.d.ts +0 -179
  276. package/lib/typescript/models/interfaces.d.ts.map +0 -1
  277. package/lib/typescript/models/secureSession.d.ts +0 -27
  278. package/lib/typescript/models/secureSession.d.ts.map +0 -1
  279. package/lib/typescript/node/index.d.ts +0 -11
  280. package/lib/typescript/node/index.d.ts.map +0 -1
  281. package/lib/typescript/ui/components/Avatar.d.ts +0 -62
  282. package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
  283. package/lib/typescript/ui/components/FollowButton.d.ts +0 -92
  284. package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
  285. package/lib/typescript/ui/components/FontLoader.d.ts +0 -15
  286. package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
  287. package/lib/typescript/ui/components/GroupedItem.d.ts +0 -17
  288. package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
  289. package/lib/typescript/ui/components/GroupedSection.d.ts +0 -19
  290. package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
  291. package/lib/typescript/ui/components/OxyLogo.d.ts +0 -29
  292. package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
  293. package/lib/typescript/ui/components/OxyProvider.d.ts +0 -12
  294. package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
  295. package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -70
  296. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
  297. package/lib/typescript/ui/components/ProfileCard.d.ts +0 -20
  298. package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
  299. package/lib/typescript/ui/components/QuickActions.d.ts +0 -15
  300. package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
  301. package/lib/typescript/ui/components/Section.d.ts +0 -11
  302. package/lib/typescript/ui/components/Section.d.ts.map +0 -1
  303. package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
  304. package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
  305. package/lib/typescript/ui/components/bottomSheet/index.d.ts +0 -4
  306. package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +0 -1
  307. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -10
  308. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
  309. package/lib/typescript/ui/components/icon/index.d.ts +0 -3
  310. package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
  311. package/lib/typescript/ui/components/index.d.ts +0 -13
  312. package/lib/typescript/ui/components/index.d.ts.map +0 -1
  313. package/lib/typescript/ui/context/OxyContext.d.ts +0 -42
  314. package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
  315. package/lib/typescript/ui/index.d.ts +0 -15
  316. package/lib/typescript/ui/index.d.ts.map +0 -1
  317. package/lib/typescript/ui/navigation/OxyRouter.d.ts +0 -5
  318. package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +0 -1
  319. package/lib/typescript/ui/navigation/types.d.ts +0 -116
  320. package/lib/typescript/ui/navigation/types.d.ts.map +0 -1
  321. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -5
  322. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
  323. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +0 -8
  324. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +0 -1
  325. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -5
  326. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
  327. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -5
  328. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  329. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -5
  330. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
  331. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -5
  332. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
  333. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +0 -5
  334. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +0 -1
  335. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -8
  336. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
  337. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
  338. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  339. package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -9
  340. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
  341. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -5
  342. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
  343. package/lib/typescript/ui/screens/SignInScreen.d.ts +0 -5
  344. package/lib/typescript/ui/screens/SignInScreen.d.ts.map +0 -1
  345. package/lib/typescript/ui/screens/SignUpScreen.d.ts +0 -5
  346. package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +0 -1
  347. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -5
  348. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
  349. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -5
  350. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
  351. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -5
  352. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
  353. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -5
  354. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
  355. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -5
  356. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
  357. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -5
  358. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
  359. package/lib/typescript/ui/styles/fonts.d.ts +0 -21
  360. package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
  361. package/lib/typescript/ui/styles/index.d.ts +0 -3
  362. package/lib/typescript/ui/styles/index.d.ts.map +0 -1
  363. package/lib/typescript/ui/styles/theme.d.ts +0 -68
  364. package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
  365. package/lib/typescript/utils/deviceManager.d.ts +0 -66
  366. package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
  367. package/lib/typescript/utils/index.d.ts +0 -3
  368. package/lib/typescript/utils/index.d.ts.map +0 -1
  369. package/lib/typescript/utils/polyfills.d.ts +0 -6
  370. package/lib/typescript/utils/polyfills.d.ts.map +0 -1
@@ -1,511 +0,0 @@
1
- "use strict";
2
-
3
- import React, { useCallback, useRef, useState, useEffect } from 'react';
4
- import { View, StyleSheet, Dimensions, Platform, Animated, StatusBar, Keyboard } from 'react-native';
5
- import { SafeAreaProvider, useSafeAreaInsets } from 'react-native-safe-area-context';
6
- import { GestureHandlerRootView } from 'react-native-gesture-handler';
7
- import { OxyContextProvider, useOxy } from '../context/OxyContext';
8
- import OxyRouter from '../navigation/OxyRouter';
9
- import { FontLoader, setupFonts } from './FontLoader';
10
- import { Toaster } from '../../lib/sonner';
11
-
12
- // Import bottom sheet components directly - no longer a peer dependency
13
- import { BottomSheetModal, BottomSheetBackdrop, BottomSheetModalProvider, BottomSheetScrollView } from './bottomSheet';
14
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
- // Initialize fonts automatically
16
- setupFonts();
17
-
18
- /**
19
- * Enhanced OxyProvider component
20
- *
21
- * This component serves two purposes:
22
- * 1. As a context provider for authentication and session management across the app
23
- * 2. As a UI component for authentication and account management using a bottom sheet
24
- */
25
- const OxyProvider = props => {
26
- const {
27
- oxyServices,
28
- children,
29
- contextOnly = false,
30
- onAuthStateChange,
31
- storageKeyPrefix,
32
- showInternalToaster = true,
33
- ...bottomSheetProps
34
- } = props;
35
-
36
- // Create internal bottom sheet ref
37
- const internalBottomSheetRef = useRef(null);
38
-
39
- // If contextOnly is true, we just provide the context without the bottom sheet UI
40
- if (contextOnly) {
41
- return /*#__PURE__*/_jsx(OxyContextProvider, {
42
- oxyServices: oxyServices,
43
- storageKeyPrefix: storageKeyPrefix,
44
- onAuthStateChange: onAuthStateChange,
45
- children: children
46
- });
47
- }
48
-
49
- // Otherwise, provide both the context and the bottom sheet UI
50
- return /*#__PURE__*/_jsx(OxyContextProvider, {
51
- oxyServices: oxyServices,
52
- storageKeyPrefix: storageKeyPrefix,
53
- onAuthStateChange: onAuthStateChange,
54
- bottomSheetRef: internalBottomSheetRef,
55
- children: /*#__PURE__*/_jsx(FontLoader, {
56
- children: /*#__PURE__*/_jsxs(GestureHandlerRootView, {
57
- style: styles.gestureHandlerRoot,
58
- children: [/*#__PURE__*/_jsxs(BottomSheetModalProvider, {
59
- children: [/*#__PURE__*/_jsx(StatusBar, {
60
- translucent: true,
61
- backgroundColor: "transparent"
62
- }), /*#__PURE__*/_jsxs(SafeAreaProvider, {
63
- children: [/*#__PURE__*/_jsx(OxyBottomSheet, {
64
- ...bottomSheetProps,
65
- bottomSheetRef: internalBottomSheetRef,
66
- oxyServices: oxyServices
67
- }), children]
68
- })]
69
- }), !showInternalToaster && /*#__PURE__*/_jsx(View, {
70
- style: styles.toasterContainer,
71
- children: /*#__PURE__*/_jsx(Toaster, {
72
- position: "top-center",
73
- swipeToDismissDirection: "left",
74
- offset: 15
75
- })
76
- })]
77
- })
78
- })
79
- });
80
- };
81
-
82
- /**
83
- * OxyBottomSheet component - A bottom sheet-based authentication and account management UI
84
- *
85
- * This is the original OxyProvider UI functionality, now extracted into its own component
86
- * and reimplemented using BottomSheetModal for better Android compatibility
87
- */
88
- const OxyBottomSheet = ({
89
- oxyServices,
90
- initialScreen = 'SignIn',
91
- onClose,
92
- onAuthenticated,
93
- theme = 'light',
94
- customStyles = {},
95
- bottomSheetRef,
96
- autoPresent = false,
97
- showInternalToaster = true
98
- }) => {
99
- // Use the internal ref (which is passed as a prop from OxyProvider)
100
- const modalRef = useRef(null);
101
-
102
- // Create a ref to store the navigation function from OxyRouter
103
- const navigationRef = useRef(null);
104
-
105
- // Track content height for dynamic sizing
106
- const [contentHeight, setContentHeight] = useState(0);
107
- const [containerWidth, setContainerWidth] = useState(800); // Track actual container width
108
- const screenHeight = Dimensions.get('window').height;
109
-
110
- // Set up effect to sync the internal ref with our modal ref
111
- useEffect(() => {
112
- if (bottomSheetRef && modalRef.current) {
113
- // We need to expose certain methods to the internal ref
114
- const methodsToExpose = ['snapToIndex', 'snapToPosition', 'close', 'expand', 'collapse', 'present', 'dismiss'];
115
- methodsToExpose.forEach(method => {
116
- if (modalRef.current && typeof modalRef.current[method] === 'function') {
117
- // Properly forward methods from modalRef to bottomSheetRef
118
- // @ts-ignore - We're doing a runtime compatibility layer
119
- bottomSheetRef.current = bottomSheetRef.current || {};
120
- // @ts-ignore - Dynamic method assignment
121
- bottomSheetRef.current[method] = (...args) => {
122
- // @ts-ignore - Dynamic method call
123
- return modalRef.current?.[method]?.(...args);
124
- };
125
- }
126
- });
127
-
128
- // Add a method to navigate between screens
129
- // @ts-ignore - Adding custom method
130
- bottomSheetRef.current._navigateToScreen = (screenName, props) => {
131
- console.log(`Navigation requested: ${screenName}`, props);
132
-
133
- // Try direct navigation function first (most reliable)
134
- if (navigationRef.current) {
135
- console.log('Using direct navigation function');
136
- navigationRef.current(screenName, props);
137
- return;
138
- }
139
-
140
- // Fallback to event-based navigation
141
- if (typeof document !== 'undefined') {
142
- // For web - use a custom event
143
- console.log('Using web event navigation');
144
- const event = new CustomEvent('oxy:navigate', {
145
- detail: {
146
- screen: screenName,
147
- props
148
- }
149
- });
150
- document.dispatchEvent(event);
151
- } else {
152
- // For React Native - use the global variable approach
153
- console.log('Using React Native global navigation');
154
- globalThis.oxyNavigateEvent = {
155
- screen: screenName,
156
- props
157
- };
158
- }
159
- };
160
- }
161
- }, [bottomSheetRef, modalRef]);
162
-
163
- // Use percentage-based snap points for better cross-platform compatibility
164
- const [snapPoints, setSnapPoints] = useState(['60%', '90%']);
165
-
166
- // Animation values - we'll use these for content animations
167
- // Start with opacity 1 on Android to avoid visibility issues
168
- const fadeAnim = useRef(new Animated.Value(Platform.OS === 'android' ? 1 : 0)).current;
169
- const slideAnim = useRef(new Animated.Value(Platform.OS === 'android' ? 0 : 50)).current;
170
- const handleScaleAnim = useRef(new Animated.Value(1)).current;
171
-
172
- // Track keyboard status
173
- const [keyboardVisible, setKeyboardVisible] = useState(false);
174
- const [keyboardHeight, setKeyboardHeight] = useState(0);
175
- const insets = useSafeAreaInsets();
176
-
177
- // Get the authentication context
178
- const oxyContext = useOxy();
179
-
180
- // Handle keyboard events
181
- useEffect(() => {
182
- const keyboardWillShowListener = Keyboard.addListener(Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow', event => {
183
- // Debounce rapid keyboard events
184
- if (!keyboardVisible) {
185
- setKeyboardVisible(true);
186
- // Get keyboard height from event
187
- const keyboardHeightValue = event.endCoordinates.height;
188
- setKeyboardHeight(keyboardHeightValue);
189
-
190
- // Ensure the bottom sheet remains visible when keyboard opens
191
- // by adjusting to the highest snap point
192
- if (modalRef.current) {
193
- // Use requestAnimationFrame to avoid conflicts
194
- requestAnimationFrame(() => {
195
- modalRef.current?.snapToIndex(1);
196
- });
197
- }
198
- }
199
- });
200
- const keyboardWillHideListener = Keyboard.addListener(Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide', () => {
201
- if (keyboardVisible) {
202
- setKeyboardVisible(false);
203
- setKeyboardHeight(0);
204
- }
205
- });
206
-
207
- // Cleanup listeners
208
- return () => {
209
- keyboardWillShowListener.remove();
210
- keyboardWillHideListener.remove();
211
- };
212
- }, [keyboardVisible]);
213
-
214
- // Present the modal when component mounts, but only if autoPresent is true
215
- useEffect(() => {
216
- // Add expand method that handles presentation and animations
217
- if (bottomSheetRef && modalRef.current) {
218
- // Override expand to handle initial presentation
219
- // @ts-ignore - Dynamic method assignment
220
- bottomSheetRef.current.expand = () => {
221
- // Only present if not already presented
222
- modalRef.current?.present();
223
-
224
- // Start content animations after presenting
225
- Animated.parallel([Animated.timing(fadeAnim, {
226
- toValue: 1,
227
- duration: 300,
228
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
229
- }), Animated.spring(slideAnim, {
230
- toValue: 0,
231
- friction: 8,
232
- tension: 40,
233
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
234
- })]).start();
235
- };
236
- }
237
-
238
- // Auto-present if the autoPresent prop is true
239
- if (autoPresent && modalRef.current) {
240
- // Small delay to allow everything to initialize
241
- const timer = setTimeout(() => {
242
- modalRef.current?.present();
243
-
244
- // Start content animations after presenting
245
- Animated.parallel([Animated.timing(fadeAnim, {
246
- toValue: 1,
247
- duration: 300,
248
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
249
- }), Animated.spring(slideAnim, {
250
- toValue: 0,
251
- friction: 8,
252
- tension: 40,
253
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
254
- })]).start();
255
- }, 100);
256
- return () => clearTimeout(timer);
257
- }
258
- }, [bottomSheetRef, modalRef, fadeAnim, slideAnim, autoPresent]);
259
-
260
- // Handle authentication success from the bottom sheet screens
261
- const handleAuthenticated = useCallback(user => {
262
- // Call the prop callback if provided
263
- if (onAuthenticated) {
264
- onAuthenticated(user);
265
- }
266
- }, [onAuthenticated]);
267
-
268
- // Handle indicator animation - subtle pulse effect
269
- useEffect(() => {
270
- const pulseAnimation = Animated.sequence([Animated.timing(handleScaleAnim, {
271
- toValue: 1.1,
272
- duration: 300,
273
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
274
- }), Animated.timing(handleScaleAnim, {
275
- toValue: 1,
276
- duration: 300,
277
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
278
- })]);
279
-
280
- // Run the animation once when component mounts
281
- pulseAnimation.start();
282
- }, []);
283
-
284
- // Handle backdrop rendering
285
- const renderBackdrop = useCallback(props => /*#__PURE__*/_jsx(BottomSheetBackdrop, {
286
- ...props,
287
- disappearsOnIndex: -1,
288
- appearsOnIndex: 0,
289
- opacity: 0.5
290
- }), []);
291
-
292
- // Background style based on theme
293
- const getBackgroundStyle = () => {
294
- const baseColor = customStyles.backgroundColor || (theme === 'light' ? '#FFFFFF' : '#121212');
295
- return {
296
- backgroundColor: baseColor,
297
- // Make sure there's no transparency
298
- opacity: 1,
299
- // Additional Android-specific styles
300
- ...Platform.select({
301
- android: {
302
- elevation: 24
303
- }
304
- })
305
- };
306
- };
307
-
308
- // Method to adjust snap points from Router
309
- const adjustSnapPoints = useCallback(points => {
310
- // Ensure snap points are high enough when keyboard is visible
311
- if (keyboardVisible) {
312
- // If keyboard is visible, make sure we use higher snap points
313
- // to ensure the sheet content remains visible
314
- const highestPoint = points[points.length - 1];
315
- setSnapPoints([highestPoint, highestPoint]);
316
- } else {
317
- // If we have content height, use it as a constraint
318
- if (contentHeight > 0) {
319
- // Calculate content height as percentage of screen (plus some padding)
320
- // Clamp to ensure we don't exceed 90% to leave space for UI elements
321
- const contentHeightPercent = Math.min(Math.ceil(contentHeight / screenHeight * 100), 90);
322
- const contentHeightPercentStr = `${contentHeightPercent}%`;
323
- // Use content height for first snap point if it's taller than the default
324
- const firstPoint = contentHeight / screenHeight > 0.6 ? contentHeightPercentStr : points[0];
325
- setSnapPoints([firstPoint, points[1] || '90%']);
326
- } else {
327
- setSnapPoints(points);
328
- }
329
- }
330
- }, [keyboardVisible, contentHeight, screenHeight]);
331
-
332
- // Handle content layout changes to measure height and width
333
- const handleContentLayout = useCallback(event => {
334
- const {
335
- height: layoutHeight,
336
- width: layoutWidth
337
- } = event.nativeEvent.layout;
338
- setContentHeight(layoutHeight);
339
- setContainerWidth(layoutWidth);
340
-
341
- // Debug: log container dimensions
342
- console.log('[OxyProvider] Container dimensions (full):', {
343
- width: layoutWidth,
344
- height: layoutHeight
345
- });
346
-
347
- // Update snap points based on new content height
348
- if (keyboardVisible) {
349
- // If keyboard is visible, use the highest snap point
350
- const highestPoint = snapPoints[snapPoints.length - 1];
351
- setSnapPoints([highestPoint, highestPoint]);
352
- } else {
353
- if (layoutHeight > 0) {
354
- // Add padding and clamp to reasonable limits
355
- const contentHeightPercent = Math.min(Math.ceil((layoutHeight + 40) / screenHeight * 100), 90);
356
- const contentHeightPercentStr = `${contentHeightPercent}%`;
357
- const firstPoint = layoutHeight / screenHeight > 0.6 ? contentHeightPercentStr : snapPoints[0];
358
- setSnapPoints([firstPoint, snapPoints[1]]);
359
- }
360
- }
361
- }, [keyboardVisible, screenHeight, snapPoints]);
362
-
363
- // Close the bottom sheet with animation
364
- const handleClose = useCallback(() => {
365
- // Animate content out
366
- Animated.timing(fadeAnim, {
367
- toValue: 0,
368
- duration: Platform.OS === 'android' ? 100 : 200,
369
- // Faster on Android
370
- useNativeDriver: Platform.OS === 'ios' // Only use native driver on iOS
371
- }).start(() => {
372
- // Dismiss the sheet
373
- modalRef.current?.dismiss();
374
- if (onClose) {
375
- setTimeout(() => {
376
- onClose();
377
- }, Platform.OS === 'android' ? 150 : 100);
378
- }
379
- });
380
- }, [onClose, fadeAnim]);
381
-
382
- // Handle sheet index changes
383
- const handleSheetChanges = useCallback(index => {}, [onClose, handleScaleAnim, keyboardVisible]);
384
- return /*#__PURE__*/_jsxs(BottomSheetModal, {
385
- ref: modalRef,
386
- index: 0,
387
- snapPoints: snapPoints,
388
- enablePanDownToClose: true,
389
- backdropComponent: renderBackdrop,
390
- backgroundStyle: [getBackgroundStyle(), {
391
- borderTopLeftRadius: 35,
392
- borderTopRightRadius: 35
393
- }],
394
- handleIndicatorStyle: {
395
- backgroundColor: customStyles.handleColor || (theme === 'light' ? '#CCCCCC' : '#444444'),
396
- width: 40,
397
- height: 4
398
- },
399
- onChange: handleSheetChanges,
400
- style: styles.bottomSheetContainer
401
- // Adding additional props to improve layout behavior
402
- ,
403
- keyboardBehavior: "interactive",
404
- keyboardBlurBehavior: "restore",
405
- android_keyboardInputMode: "adjustResize",
406
- enableOverDrag: true,
407
- enableContentPanningGesture: true,
408
- enableHandlePanningGesture: true,
409
- overDragResistanceFactor: 2.5,
410
- enableBlurKeyboardOnGesture: true
411
- // Log sheet animations for debugging
412
- ,
413
- onAnimate: (fromIndex, toIndex) => {
414
- console.log(`Animating from index ${fromIndex} to ${toIndex}`);
415
- },
416
- children: [/*#__PURE__*/_jsx(BottomSheetScrollView, {
417
- style: [styles.contentContainer,
418
- // Override padding if provided in customStyles
419
- customStyles.contentPadding !== undefined && {
420
- padding: customStyles.contentPadding
421
- }],
422
- onLayout: handleContentLayout,
423
- children: /*#__PURE__*/_jsx(View, {
424
- style: styles.centeredContentWrapper,
425
- children: /*#__PURE__*/_jsx(Animated.View, {
426
- style: [styles.animatedContent,
427
- // Apply animations - conditionally for Android
428
- Platform.OS === 'android' ? {
429
- opacity: 1 // No fade animation on Android
430
- } : {
431
- opacity: fadeAnim,
432
- transform: [{
433
- translateY: slideAnim
434
- }]
435
- }],
436
- children: /*#__PURE__*/_jsx(OxyRouter, {
437
- oxyServices: oxyServices,
438
- initialScreen: initialScreen,
439
- onClose: handleClose,
440
- onAuthenticated: handleAuthenticated,
441
- theme: theme,
442
- adjustSnapPoints: adjustSnapPoints,
443
- navigationRef: navigationRef,
444
- containerWidth: containerWidth
445
- })
446
- })
447
- })
448
- }), showInternalToaster && /*#__PURE__*/_jsx(View, {
449
- style: styles.toasterContainer,
450
- children: /*#__PURE__*/_jsx(Toaster, {
451
- position: "top-center",
452
- swipeToDismissDirection: "left"
453
- })
454
- })]
455
- });
456
- };
457
- const styles = StyleSheet.create({
458
- bottomSheetContainer: {
459
- maxWidth: 800,
460
- width: '100%',
461
- marginHorizontal: 'auto'
462
- },
463
- contentContainer: {
464
- width: '100%',
465
- borderTopLeftRadius: 35,
466
- borderTopRightRadius: 35
467
- },
468
- centeredContentWrapper: {
469
- width: '100%',
470
- marginHorizontal: 'auto'
471
- },
472
- animatedContent: {
473
- width: '100%'
474
- },
475
- indicator: {
476
- width: 40,
477
- height: 4,
478
- marginTop: 8,
479
- marginBottom: 8,
480
- borderRadius: 35
481
- },
482
- errorContainer: {
483
- flex: 1,
484
- justifyContent: 'center',
485
- alignItems: 'center'
486
- },
487
- gestureHandlerRoot: {
488
- flex: 1,
489
- position: 'relative',
490
- backgroundColor: 'transparent',
491
- ...Platform.select({
492
- android: {
493
- height: '100%',
494
- width: '100%'
495
- }
496
- })
497
- },
498
- toasterContainer: {
499
- position: 'absolute',
500
- top: 0,
501
- left: 0,
502
- right: 0,
503
- bottom: 0,
504
- zIndex: 9999,
505
- elevation: 9999,
506
- // For Android
507
- pointerEvents: 'box-none' // Allow touches to pass through to underlying components
508
- }
509
- });
510
- export default OxyProvider;
511
- //# sourceMappingURL=OxyProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","useCallback","useRef","useState","useEffect","View","StyleSheet","Dimensions","Platform","Animated","StatusBar","Keyboard","SafeAreaProvider","useSafeAreaInsets","GestureHandlerRootView","OxyContextProvider","useOxy","OxyRouter","FontLoader","setupFonts","Toaster","BottomSheetModal","BottomSheetBackdrop","BottomSheetModalProvider","BottomSheetScrollView","jsx","_jsx","jsxs","_jsxs","OxyProvider","props","oxyServices","children","contextOnly","onAuthStateChange","storageKeyPrefix","showInternalToaster","bottomSheetProps","internalBottomSheetRef","bottomSheetRef","style","styles","gestureHandlerRoot","translucent","backgroundColor","OxyBottomSheet","toasterContainer","position","swipeToDismissDirection","offset","initialScreen","onClose","onAuthenticated","theme","customStyles","autoPresent","modalRef","navigationRef","contentHeight","setContentHeight","containerWidth","setContainerWidth","screenHeight","get","height","current","methodsToExpose","forEach","method","args","_navigateToScreen","screenName","console","log","document","event","CustomEvent","detail","screen","dispatchEvent","globalThis","oxyNavigateEvent","snapPoints","setSnapPoints","fadeAnim","Value","OS","slideAnim","handleScaleAnim","keyboardVisible","setKeyboardVisible","keyboardHeight","setKeyboardHeight","insets","oxyContext","keyboardWillShowListener","addListener","keyboardHeightValue","endCoordinates","requestAnimationFrame","snapToIndex","keyboardWillHideListener","remove","expand","present","parallel","timing","toValue","duration","useNativeDriver","spring","friction","tension","start","timer","setTimeout","clearTimeout","handleAuthenticated","user","pulseAnimation","sequence","renderBackdrop","disappearsOnIndex","appearsOnIndex","opacity","getBackgroundStyle","baseColor","select","android","elevation","adjustSnapPoints","points","highestPoint","length","contentHeightPercent","Math","min","ceil","contentHeightPercentStr","firstPoint","handleContentLayout","layoutHeight","width","layoutWidth","nativeEvent","layout","handleClose","dismiss","handleSheetChanges","index","ref","enablePanDownToClose","backdropComponent","backgroundStyle","borderTopLeftRadius","borderTopRightRadius","handleIndicatorStyle","handleColor","onChange","bottomSheetContainer","keyboardBehavior","keyboardBlurBehavior","android_keyboardInputMode","enableOverDrag","enableContentPanningGesture","enableHandlePanningGesture","overDragResistanceFactor","enableBlurKeyboardOnGesture","onAnimate","fromIndex","toIndex","contentContainer","contentPadding","undefined","padding","onLayout","centeredContentWrapper","animatedContent","transform","translateY","create","maxWidth","marginHorizontal","indicator","marginTop","marginBottom","borderRadius","errorContainer","flex","justifyContent","alignItems","top","left","right","bottom","zIndex","pointerEvents"],"sourceRoot":"../../../../src","sources":["ui/components/OxyProvider.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AACvE,SAASC,IAAI,EAAQC,UAAU,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,QAAuB,cAAc;AACzH,SAASC,gBAAgB,EAAEC,iBAAiB,QAAQ,gCAAgC;AACpF,SAASC,sBAAsB,QAAQ,8BAA8B;AAErE,SAASC,kBAAkB,EAAEC,MAAM,QAAQ,uBAAuB;AAClE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,kBAAkB;;AAE1C;AACA,SAASC,gBAAgB,EAAEC,mBAAmB,EAA4BC,wBAAwB,EAAmBC,qBAAqB,QAAQ,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGlK;AACAT,UAAU,CAAC,CAAC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