@oxyhq/services 5.4.2 → 5.4.3

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 (359) hide show
  1. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  2. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  3. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  4. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  7. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  8. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  9. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  10. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
  11. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  12. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  13. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  14. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  15. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  16. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  17. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  18. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  19. package/lib/commonjs/assets/icons/OxyServices.js +53 -0
  20. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  21. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  22. package/lib/commonjs/constants/version.js +28 -0
  23. package/lib/commonjs/constants/version.js.map +1 -0
  24. package/lib/commonjs/core/index.js +1660 -0
  25. package/lib/commonjs/core/index.js.map +1 -0
  26. package/lib/commonjs/index.js +160 -0
  27. package/lib/commonjs/index.js.map +1 -0
  28. package/lib/commonjs/lib/sonner.js +21 -0
  29. package/lib/commonjs/lib/sonner.js.map +1 -0
  30. package/lib/commonjs/models/interfaces.js +2 -0
  31. package/lib/commonjs/models/interfaces.js.map +1 -0
  32. package/lib/commonjs/models/secureSession.js +2 -0
  33. package/lib/commonjs/models/secureSession.js.map +1 -0
  34. package/lib/commonjs/node/index.js +54 -0
  35. package/lib/commonjs/node/index.js.map +1 -0
  36. package/lib/commonjs/ui/components/Avatar.js +98 -0
  37. package/lib/commonjs/ui/components/Avatar.js.map +1 -0
  38. package/lib/commonjs/ui/components/FollowButton.js +246 -0
  39. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  40. package/lib/commonjs/ui/components/FontLoader.js +181 -0
  41. package/lib/commonjs/ui/components/FontLoader.js.map +1 -0
  42. package/lib/commonjs/ui/components/GroupedItem.js +109 -0
  43. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
  44. package/lib/commonjs/ui/components/GroupedSection.js +33 -0
  45. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
  46. package/lib/commonjs/ui/components/OxyLogo.js +56 -0
  47. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -0
  48. package/lib/commonjs/ui/components/OxyProvider.js +517 -0
  49. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  50. package/lib/commonjs/ui/components/OxySignInButton.js +178 -0
  51. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  52. package/lib/commonjs/ui/components/ProfileCard.js +124 -0
  53. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
  54. package/lib/commonjs/ui/components/QuickActions.js +87 -0
  55. package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
  56. package/lib/commonjs/ui/components/Section.js +36 -0
  57. package/lib/commonjs/ui/components/Section.js.map +1 -0
  58. package/lib/commonjs/ui/components/SectionTitle.js +35 -0
  59. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
  60. package/lib/commonjs/ui/components/bottomSheet/index.js +37 -0
  61. package/lib/commonjs/ui/components/bottomSheet/index.js.map +1 -0
  62. package/lib/commonjs/ui/components/icon/OxyIcon.js +27 -0
  63. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
  64. package/lib/commonjs/ui/components/icon/index.js +14 -0
  65. package/lib/commonjs/ui/components/icon/index.js.map +1 -0
  66. package/lib/commonjs/ui/components/index.js +97 -0
  67. package/lib/commonjs/ui/components/index.js.map +1 -0
  68. package/lib/commonjs/ui/context/OxyContext.js +584 -0
  69. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  70. package/lib/commonjs/ui/index.js +128 -0
  71. package/lib/commonjs/ui/index.js.map +1 -0
  72. package/lib/commonjs/ui/navigation/OxyRouter.js +264 -0
  73. package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -0
  74. package/lib/commonjs/ui/navigation/types.js +6 -0
  75. package/lib/commonjs/ui/navigation/types.js.map +1 -0
  76. package/lib/commonjs/ui/screens/AccountCenterScreen.js +313 -0
  77. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -0
  78. package/lib/commonjs/ui/screens/AccountManagementDemo.js +299 -0
  79. package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +1 -0
  80. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +855 -0
  81. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
  82. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +843 -0
  83. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  84. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +788 -0
  85. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -0
  86. package/lib/commonjs/ui/screens/AppInfoScreen.js +664 -0
  87. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  88. package/lib/commonjs/ui/screens/BillingManagementScreen.js +636 -0
  89. package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +1 -0
  90. package/lib/commonjs/ui/screens/FileManagementScreen.js +2515 -0
  91. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  92. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1620 -0
  93. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  94. package/lib/commonjs/ui/screens/ProfileScreen.js +450 -0
  95. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  96. package/lib/commonjs/ui/screens/SessionManagementScreen.js +449 -0
  97. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
  98. package/lib/commonjs/ui/screens/SignInScreen.js +1004 -0
  99. package/lib/commonjs/ui/screens/SignInScreen.js.map +1 -0
  100. package/lib/commonjs/ui/screens/SignUpScreen.js +937 -0
  101. package/lib/commonjs/ui/screens/SignUpScreen.js.map +1 -0
  102. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +88 -0
  103. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  104. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +364 -0
  105. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  106. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +227 -0
  107. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  108. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +148 -0
  109. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  110. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +127 -0
  111. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  112. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +105 -0
  113. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  114. package/lib/commonjs/ui/styles/FONTS.md +126 -0
  115. package/lib/commonjs/ui/styles/fonts.js +84 -0
  116. package/lib/commonjs/ui/styles/fonts.js.map +1 -0
  117. package/lib/commonjs/ui/styles/index.js +28 -0
  118. package/lib/commonjs/ui/styles/index.js.map +1 -0
  119. package/lib/commonjs/ui/styles/theme.js +121 -0
  120. package/lib/commonjs/ui/styles/theme.js.map +1 -0
  121. package/lib/commonjs/utils/deviceManager.js +173 -0
  122. package/lib/commonjs/utils/deviceManager.js.map +1 -0
  123. package/lib/commonjs/utils/index.js +13 -0
  124. package/lib/commonjs/utils/index.js.map +1 -0
  125. package/lib/commonjs/utils/polyfills.js +42 -0
  126. package/lib/commonjs/utils/polyfills.js.map +1 -0
  127. package/lib/module/assets/OxyLogo.svg +1 -0
  128. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  129. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  130. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  131. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  132. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  133. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  134. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  135. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  136. package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
  137. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  138. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  139. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  140. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  141. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  142. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  143. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  144. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  145. package/lib/module/assets/icons/OxyServices.js +46 -0
  146. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  147. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  148. package/lib/module/constants/version.js +21 -0
  149. package/lib/module/constants/version.js.map +1 -0
  150. package/lib/module/core/index.js +1634 -0
  151. package/lib/module/core/index.js.map +1 -0
  152. package/lib/module/index.js +48 -0
  153. package/lib/module/index.js.map +1 -0
  154. package/lib/module/lib/sonner.js +16 -0
  155. package/lib/module/lib/sonner.js.map +1 -0
  156. package/lib/module/models/interfaces.js +2 -0
  157. package/lib/module/models/interfaces.js.map +1 -0
  158. package/lib/module/models/secureSession.js +2 -0
  159. package/lib/module/models/secureSession.js.map +1 -0
  160. package/lib/module/node/index.js +23 -0
  161. package/lib/module/node/index.js.map +1 -0
  162. package/lib/module/ui/components/Avatar.js +93 -0
  163. package/lib/module/ui/components/Avatar.js.map +1 -0
  164. package/lib/module/ui/components/FollowButton.js +241 -0
  165. package/lib/module/ui/components/FollowButton.js.map +1 -0
  166. package/lib/module/ui/components/FontLoader.js +176 -0
  167. package/lib/module/ui/components/FontLoader.js.map +1 -0
  168. package/lib/module/ui/components/GroupedItem.js +104 -0
  169. package/lib/module/ui/components/GroupedItem.js.map +1 -0
  170. package/lib/module/ui/components/GroupedSection.js +28 -0
  171. package/lib/module/ui/components/GroupedSection.js.map +1 -0
  172. package/lib/module/ui/components/OxyLogo.js +49 -0
  173. package/lib/module/ui/components/OxyLogo.js.map +1 -0
  174. package/lib/module/ui/components/OxyProvider.js +511 -0
  175. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  176. package/lib/module/ui/components/OxySignInButton.js +172 -0
  177. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  178. package/lib/module/ui/components/ProfileCard.js +119 -0
  179. package/lib/module/ui/components/ProfileCard.js.map +1 -0
  180. package/lib/module/ui/components/QuickActions.js +82 -0
  181. package/lib/module/ui/components/QuickActions.js.map +1 -0
  182. package/lib/module/ui/components/Section.js +31 -0
  183. package/lib/module/ui/components/Section.js.map +1 -0
  184. package/lib/module/ui/components/SectionTitle.js +30 -0
  185. package/lib/module/ui/components/SectionTitle.js.map +1 -0
  186. package/lib/module/ui/components/bottomSheet/index.js +5 -0
  187. package/lib/module/ui/components/bottomSheet/index.js.map +1 -0
  188. package/lib/module/ui/components/icon/OxyIcon.js +22 -0
  189. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
  190. package/lib/module/ui/components/icon/index.js +4 -0
  191. package/lib/module/ui/components/icon/index.js.map +1 -0
  192. package/lib/module/ui/components/index.js +18 -0
  193. package/lib/module/ui/components/index.js.map +1 -0
  194. package/lib/module/ui/context/OxyContext.js +579 -0
  195. package/lib/module/ui/context/OxyContext.js.map +1 -0
  196. package/lib/module/ui/index.js +24 -0
  197. package/lib/module/ui/index.js.map +1 -0
  198. package/lib/module/ui/navigation/OxyRouter.js +257 -0
  199. package/lib/module/ui/navigation/OxyRouter.js.map +1 -0
  200. package/lib/module/ui/navigation/types.js +4 -0
  201. package/lib/module/ui/navigation/types.js.map +1 -0
  202. package/lib/module/ui/screens/AccountCenterScreen.js +308 -0
  203. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -0
  204. package/lib/module/ui/screens/AccountManagementDemo.js +296 -0
  205. package/lib/module/ui/screens/AccountManagementDemo.js.map +1 -0
  206. package/lib/module/ui/screens/AccountOverviewScreen.js +849 -0
  207. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -0
  208. package/lib/module/ui/screens/AccountSettingsScreen.js +837 -0
  209. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  210. package/lib/module/ui/screens/AccountSwitcherScreen.js +782 -0
  211. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
  212. package/lib/module/ui/screens/AppInfoScreen.js +658 -0
  213. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  214. package/lib/module/ui/screens/BillingManagementScreen.js +631 -0
  215. package/lib/module/ui/screens/BillingManagementScreen.js.map +1 -0
  216. package/lib/module/ui/screens/FileManagementScreen.js +2510 -0
  217. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  218. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1615 -0
  219. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  220. package/lib/module/ui/screens/ProfileScreen.js +444 -0
  221. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  222. package/lib/module/ui/screens/SessionManagementScreen.js +444 -0
  223. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -0
  224. package/lib/module/ui/screens/SignInScreen.js +998 -0
  225. package/lib/module/ui/screens/SignInScreen.js.map +1 -0
  226. package/lib/module/ui/screens/SignUpScreen.js +932 -0
  227. package/lib/module/ui/screens/SignUpScreen.js.map +1 -0
  228. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +83 -0
  229. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  230. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +358 -0
  231. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  232. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +222 -0
  233. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  234. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +142 -0
  235. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  236. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +122 -0
  237. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  238. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +100 -0
  239. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  240. package/lib/module/ui/styles/FONTS.md +126 -0
  241. package/lib/module/ui/styles/fonts.js +81 -0
  242. package/lib/module/ui/styles/fonts.js.map +1 -0
  243. package/lib/module/ui/styles/index.js +5 -0
  244. package/lib/module/ui/styles/index.js.map +1 -0
  245. package/lib/module/ui/styles/theme.js +114 -0
  246. package/lib/module/ui/styles/theme.js.map +1 -0
  247. package/lib/module/utils/deviceManager.js +167 -0
  248. package/lib/module/utils/deviceManager.js.map +1 -0
  249. package/lib/module/utils/index.js +4 -0
  250. package/lib/module/utils/index.js.map +1 -0
  251. package/lib/module/utils/polyfills.js +36 -0
  252. package/lib/module/utils/polyfills.js.map +1 -0
  253. package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
  254. package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
  255. package/lib/typescript/constants/version.d.ts +14 -0
  256. package/lib/typescript/constants/version.d.ts.map +1 -0
  257. package/lib/typescript/core/index.d.ts +603 -0
  258. package/lib/typescript/core/index.d.ts.map +1 -0
  259. package/lib/typescript/index.d.ts +20 -0
  260. package/lib/typescript/index.d.ts.map +1 -0
  261. package/lib/typescript/lib/sonner.d.ts +6 -0
  262. package/lib/typescript/lib/sonner.d.ts.map +1 -0
  263. package/lib/typescript/models/interfaces.d.ts +179 -0
  264. package/lib/typescript/models/interfaces.d.ts.map +1 -0
  265. package/lib/typescript/models/secureSession.d.ts +27 -0
  266. package/lib/typescript/models/secureSession.d.ts.map +1 -0
  267. package/lib/typescript/node/index.d.ts +11 -0
  268. package/lib/typescript/node/index.d.ts.map +1 -0
  269. package/lib/typescript/ui/components/Avatar.d.ts +62 -0
  270. package/lib/typescript/ui/components/Avatar.d.ts.map +1 -0
  271. package/lib/typescript/ui/components/FollowButton.d.ts +92 -0
  272. package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -0
  273. package/lib/typescript/ui/components/FontLoader.d.ts +15 -0
  274. package/lib/typescript/ui/components/FontLoader.d.ts.map +1 -0
  275. package/lib/typescript/ui/components/GroupedItem.d.ts +17 -0
  276. package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
  277. package/lib/typescript/ui/components/GroupedSection.d.ts +19 -0
  278. package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
  279. package/lib/typescript/ui/components/OxyLogo.d.ts +29 -0
  280. package/lib/typescript/ui/components/OxyLogo.d.ts.map +1 -0
  281. package/lib/typescript/ui/components/OxyProvider.d.ts +12 -0
  282. package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -0
  283. package/lib/typescript/ui/components/OxySignInButton.d.ts +70 -0
  284. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -0
  285. package/lib/typescript/ui/components/ProfileCard.d.ts +20 -0
  286. package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
  287. package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
  288. package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
  289. package/lib/typescript/ui/components/Section.d.ts +11 -0
  290. package/lib/typescript/ui/components/Section.d.ts.map +1 -0
  291. package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
  292. package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
  293. package/lib/typescript/ui/components/bottomSheet/index.d.ts +4 -0
  294. package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +1 -0
  295. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +10 -0
  296. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -0
  297. package/lib/typescript/ui/components/icon/index.d.ts +3 -0
  298. package/lib/typescript/ui/components/icon/index.d.ts.map +1 -0
  299. package/lib/typescript/ui/components/index.d.ts +13 -0
  300. package/lib/typescript/ui/components/index.d.ts.map +1 -0
  301. package/lib/typescript/ui/context/OxyContext.d.ts +42 -0
  302. package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -0
  303. package/lib/typescript/ui/index.d.ts +15 -0
  304. package/lib/typescript/ui/index.d.ts.map +1 -0
  305. package/lib/typescript/ui/navigation/OxyRouter.d.ts +5 -0
  306. package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -0
  307. package/lib/typescript/ui/navigation/types.d.ts +116 -0
  308. package/lib/typescript/ui/navigation/types.d.ts.map +1 -0
  309. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +5 -0
  310. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -0
  311. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +8 -0
  312. package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +1 -0
  313. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +5 -0
  314. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
  315. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +5 -0
  316. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  317. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +5 -0
  318. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
  319. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +5 -0
  320. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -0
  321. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +5 -0
  322. package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +1 -0
  323. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +8 -0
  324. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
  325. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  326. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  327. package/lib/typescript/ui/screens/ProfileScreen.d.ts +9 -0
  328. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -0
  329. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +5 -0
  330. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -0
  331. package/lib/typescript/ui/screens/SignInScreen.d.ts +5 -0
  332. package/lib/typescript/ui/screens/SignInScreen.d.ts.map +1 -0
  333. package/lib/typescript/ui/screens/SignUpScreen.d.ts +5 -0
  334. package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +1 -0
  335. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
  336. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
  337. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
  338. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
  339. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
  340. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
  341. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
  342. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
  343. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
  344. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
  345. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
  346. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
  347. package/lib/typescript/ui/styles/fonts.d.ts +21 -0
  348. package/lib/typescript/ui/styles/fonts.d.ts.map +1 -0
  349. package/lib/typescript/ui/styles/index.d.ts +3 -0
  350. package/lib/typescript/ui/styles/index.d.ts.map +1 -0
  351. package/lib/typescript/ui/styles/theme.d.ts +68 -0
  352. package/lib/typescript/ui/styles/theme.d.ts.map +1 -0
  353. package/lib/typescript/utils/deviceManager.d.ts +66 -0
  354. package/lib/typescript/utils/deviceManager.d.ts.map +1 -0
  355. package/lib/typescript/utils/index.d.ts +3 -0
  356. package/lib/typescript/utils/index.d.ts.map +1 -0
  357. package/lib/typescript/utils/polyfills.d.ts +6 -0
  358. package/lib/typescript/utils/polyfills.d.ts.map +1 -0
  359. package/package.json +20 -4
@@ -0,0 +1,511 @@
1
+ "use strict";
2
+
3
+ import React, { useCallback, useRef, useState, useEffect, useMemo } 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.js";
8
+ import OxyRouter from "../navigation/OxyRouter.js";
9
+ import { FontLoader, setupFonts } from "./FontLoader.js";
10
+ import { Toaster } from "../../lib/sonner.js";
11
+
12
+ // Import bottom sheet components directly - no longer a peer dependency
13
+ import { BottomSheetModal, BottomSheetBackdrop, BottomSheetModalProvider, BottomSheetScrollView } from "./bottomSheet/index.js";
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
+ // Memoize background style based on theme to prevent recalculation on every render
293
+ const backgroundStyle = useMemo(() => {
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
+ }, [customStyles.backgroundColor, theme]);
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: [backgroundStyle, {
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
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useCallback","useRef","useState","useEffect","useMemo","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","backgroundStyle","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","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,EAAEC,OAAO,QAAQ,OAAO;AAChF,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,0BAAuB;AAClE,OAAOC,SAAS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