@oxyhq/services 5.4.2 → 5.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/lib/commonjs/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +41 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/commonjs/assets/icons/OxyServices.js +53 -0
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/commonjs/assets/illustrations/HighFive.js +61 -0
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
- package/lib/commonjs/constants/version.js +28 -0
- package/lib/commonjs/constants/version.js.map +1 -0
- package/lib/commonjs/core/index.js +1660 -0
- package/lib/commonjs/core/index.js.map +1 -0
- package/lib/commonjs/index.js +160 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/lib/sonner.js +21 -0
- package/lib/commonjs/lib/sonner.js.map +1 -0
- package/lib/commonjs/models/interfaces.js +2 -0
- package/lib/commonjs/models/interfaces.js.map +1 -0
- package/lib/commonjs/models/secureSession.js +2 -0
- package/lib/commonjs/models/secureSession.js.map +1 -0
- package/lib/commonjs/node/createAuth.js +95 -0
- package/lib/commonjs/node/createAuth.js.map +1 -0
- package/lib/commonjs/node/index.js +63 -0
- package/lib/commonjs/node/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/ui/components/Avatar.js +98 -0
- package/lib/commonjs/ui/components/Avatar.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +246 -0
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
- package/lib/commonjs/ui/components/FontLoader.js +181 -0
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -0
- package/lib/commonjs/ui/components/GroupedItem.js +109 -0
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
- package/lib/commonjs/ui/components/GroupedSection.js +33 -0
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
- package/lib/commonjs/ui/components/OxyLogo.js +56 -0
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -0
- package/lib/commonjs/ui/components/OxyProvider.js +522 -0
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +178 -0
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
- package/lib/commonjs/ui/components/ProfileCard.js +124 -0
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
- package/lib/commonjs/ui/components/QuickActions.js +87 -0
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
- package/lib/commonjs/ui/components/Section.js +36 -0
- package/lib/commonjs/ui/components/Section.js.map +1 -0
- package/lib/commonjs/ui/components/SectionTitle.js +35 -0
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
- package/lib/commonjs/ui/components/bottomSheet/index.js +37 -0
- package/lib/commonjs/ui/components/bottomSheet/index.js.map +1 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js +27 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/index.js +14 -0
- package/lib/commonjs/ui/components/icon/index.js.map +1 -0
- package/lib/commonjs/ui/components/index.js +97 -0
- package/lib/commonjs/ui/components/index.js.map +1 -0
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +213 -0
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/commonjs/ui/components/internal/TextField.js +576 -0
- package/lib/commonjs/ui/components/internal/TextField.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +584 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/index.js +136 -0
- package/lib/commonjs/ui/index.js.map +1 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js +269 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -0
- package/lib/commonjs/ui/navigation/types.js +6 -0
- package/lib/commonjs/ui/navigation/types.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +313 -0
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountManagementDemo.js +299 -0
- package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +855 -0
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +843 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +788 -0
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +664 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/BillingManagementScreen.js +636 -0
- package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +1169 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +2515 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1620 -0
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +450 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +449 -0
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SignInScreen.js +882 -0
- package/lib/commonjs/ui/screens/SignInScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SignUpScreen.js +1036 -0
- package/lib/commonjs/ui/screens/SignUpScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +88 -0
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +364 -0
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +227 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +148 -0
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +127 -0
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +105 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
- package/lib/commonjs/ui/store/index.js +52 -0
- package/lib/commonjs/ui/store/index.js.map +1 -0
- package/lib/commonjs/ui/styles/FONTS.md +126 -0
- package/lib/commonjs/ui/styles/fonts.js +84 -0
- package/lib/commonjs/ui/styles/fonts.js.map +1 -0
- package/lib/commonjs/ui/styles/index.js +28 -0
- package/lib/commonjs/ui/styles/index.js.map +1 -0
- package/lib/commonjs/ui/styles/theme.js +121 -0
- package/lib/commonjs/ui/styles/theme.js.map +1 -0
- package/lib/commonjs/utils/deviceManager.js +173 -0
- package/lib/commonjs/utils/deviceManager.js.map +1 -0
- package/lib/commonjs/utils/index.js +13 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/polyfills.js +42 -0
- package/lib/commonjs/utils/polyfills.js.map +1 -0
- package/lib/module/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/OxyLogo.svg +1 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/assets/illustrations/HighFive.tsx +41 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
- package/lib/module/assets/icons/OxyServices.js +46 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
- package/lib/module/assets/illustrations/HighFive.js +55 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/constants/version.js +21 -0
- package/lib/module/constants/version.js.map +1 -0
- package/lib/module/core/index.js +1634 -0
- package/lib/module/core/index.js.map +1 -0
- package/lib/module/index.js +48 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/lib/sonner.js +16 -0
- package/lib/module/lib/sonner.js.map +1 -0
- package/lib/module/models/interfaces.js +2 -0
- package/lib/module/models/interfaces.js.map +1 -0
- package/lib/module/models/secureSession.js +2 -0
- package/lib/module/models/secureSession.js.map +1 -0
- package/lib/module/node/createAuth.js +90 -0
- package/lib/module/node/createAuth.js.map +1 -0
- package/lib/module/node/index.js +27 -0
- package/lib/module/node/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/ui/components/Avatar.js +93 -0
- package/lib/module/ui/components/Avatar.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +241 -0
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FontLoader.js +176 -0
- package/lib/module/ui/components/FontLoader.js.map +1 -0
- package/lib/module/ui/components/GroupedItem.js +104 -0
- package/lib/module/ui/components/GroupedItem.js.map +1 -0
- package/lib/module/ui/components/GroupedSection.js +28 -0
- package/lib/module/ui/components/GroupedSection.js.map +1 -0
- package/lib/module/ui/components/OxyLogo.js +49 -0
- package/lib/module/ui/components/OxyLogo.js.map +1 -0
- package/lib/module/ui/components/OxyProvider.js +516 -0
- package/lib/module/ui/components/OxyProvider.js.map +1 -0
- package/lib/module/ui/components/OxySignInButton.js +172 -0
- package/lib/module/ui/components/OxySignInButton.js.map +1 -0
- package/lib/module/ui/components/ProfileCard.js +119 -0
- package/lib/module/ui/components/ProfileCard.js.map +1 -0
- package/lib/module/ui/components/QuickActions.js +82 -0
- package/lib/module/ui/components/QuickActions.js.map +1 -0
- package/lib/module/ui/components/Section.js +31 -0
- package/lib/module/ui/components/Section.js.map +1 -0
- package/lib/module/ui/components/SectionTitle.js +30 -0
- package/lib/module/ui/components/SectionTitle.js.map +1 -0
- package/lib/module/ui/components/bottomSheet/index.js +5 -0
- package/lib/module/ui/components/bottomSheet/index.js.map +1 -0
- package/lib/module/ui/components/icon/OxyIcon.js +22 -0
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/module/ui/components/icon/index.js +4 -0
- package/lib/module/ui/components/icon/index.js.map +1 -0
- package/lib/module/ui/components/index.js +18 -0
- package/lib/module/ui/components/index.js.map +1 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js +208 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/module/ui/components/internal/TextField.js +571 -0
- package/lib/module/ui/components/internal/TextField.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +579 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/index.js +26 -0
- package/lib/module/ui/index.js.map +1 -0
- package/lib/module/ui/navigation/OxyRouter.js +262 -0
- package/lib/module/ui/navigation/OxyRouter.js.map +1 -0
- package/lib/module/ui/navigation/types.js +4 -0
- package/lib/module/ui/navigation/types.js.map +1 -0
- package/lib/module/ui/screens/AccountCenterScreen.js +308 -0
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountManagementDemo.js +296 -0
- package/lib/module/ui/screens/AccountManagementDemo.js.map +1 -0
- package/lib/module/ui/screens/AccountOverviewScreen.js +849 -0
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js +837 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js +782 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/module/ui/screens/AppInfoScreen.js +658 -0
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/module/ui/screens/BillingManagementScreen.js +631 -0
- package/lib/module/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +1164 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +2510 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1615 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +444 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SessionManagementScreen.js +444 -0
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/SignInScreen.js +876 -0
- package/lib/module/ui/screens/SignInScreen.js.map +1 -0
- package/lib/module/ui/screens/SignUpScreen.js +1030 -0
- package/lib/module/ui/screens/SignUpScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +83 -0
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +358 -0
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +222 -0
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +142 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +122 -0
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +100 -0
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
- package/lib/module/ui/store/index.js +44 -0
- package/lib/module/ui/store/index.js.map +1 -0
- package/lib/module/ui/styles/FONTS.md +126 -0
- package/lib/module/ui/styles/fonts.js +81 -0
- package/lib/module/ui/styles/fonts.js.map +1 -0
- package/lib/module/ui/styles/index.js +5 -0
- package/lib/module/ui/styles/index.js.map +1 -0
- package/lib/module/ui/styles/theme.js +114 -0
- package/lib/module/ui/styles/theme.js.map +1 -0
- package/lib/module/utils/deviceManager.js +167 -0
- package/lib/module/utils/deviceManager.js.map +1 -0
- package/lib/module/utils/index.js +4 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/polyfills.js +36 -0
- package/lib/module/utils/polyfills.js.map +1 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts +9 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts.map +1 -0
- package/lib/typescript/constants/version.d.ts +14 -0
- package/lib/typescript/constants/version.d.ts.map +1 -0
- package/lib/typescript/core/index.d.ts +603 -0
- package/lib/typescript/core/index.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +20 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/lib/sonner.d.ts +6 -0
- package/lib/typescript/lib/sonner.d.ts.map +1 -0
- package/lib/typescript/models/interfaces.d.ts +179 -0
- package/lib/typescript/models/interfaces.d.ts.map +1 -0
- package/lib/typescript/models/secureSession.d.ts +27 -0
- package/lib/typescript/models/secureSession.d.ts.map +1 -0
- package/lib/typescript/node/createAuth.d.ts +7 -0
- package/lib/typescript/node/createAuth.d.ts.map +1 -0
- package/lib/typescript/node/index.d.ts +13 -0
- package/lib/typescript/node/index.d.ts.map +1 -0
- package/lib/typescript/types/expo-vector-icons.d.ts +3 -0
- package/lib/typescript/types/express.d.ts +5 -0
- package/lib/typescript/types/react-redux.d.ts +5 -0
- package/lib/typescript/ui/components/Avatar.d.ts +62 -0
- package/lib/typescript/ui/components/Avatar.d.ts.map +1 -0
- package/lib/typescript/ui/components/FollowButton.d.ts +92 -0
- package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/FontLoader.d.ts +15 -0
- package/lib/typescript/ui/components/FontLoader.d.ts.map +1 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts +17 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts +19 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts +29 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts +12 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts +70 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts +20 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
- package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
- package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
- package/lib/typescript/ui/components/Section.d.ts +11 -0
- package/lib/typescript/ui/components/Section.d.ts.map +1 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
- package/lib/typescript/ui/components/bottomSheet/index.d.ts +4 -0
- package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +10 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/index.d.ts +3 -0
- package/lib/typescript/ui/components/icon/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/index.d.ts +13 -0
- package/lib/typescript/ui/components/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +18 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
- package/lib/typescript/ui/components/internal/TextField.d.ts +25 -0
- package/lib/typescript/ui/components/internal/TextField.d.ts.map +1 -0
- package/lib/typescript/ui/context/OxyContext.d.ts +42 -0
- package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -0
- package/lib/typescript/ui/index.d.ts +17 -0
- package/lib/typescript/ui/index.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/OxyRouter.d.ts +5 -0
- package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/types.d.ts +116 -0
- package/lib/typescript/ui/navigation/types.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +8 -0
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +9 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SignInScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SignInScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/SignUpScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
- package/lib/typescript/ui/store/index.d.ts +19 -0
- package/lib/typescript/ui/store/index.d.ts.map +1 -0
- package/lib/typescript/ui/styles/fonts.d.ts +21 -0
- package/lib/typescript/ui/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/ui/styles/index.d.ts +3 -0
- package/lib/typescript/ui/styles/index.d.ts.map +1 -0
- package/lib/typescript/ui/styles/theme.d.ts +68 -0
- package/lib/typescript/ui/styles/theme.d.ts.map +1 -0
- package/lib/typescript/utils/deviceManager.d.ts +66 -0
- package/lib/typescript/utils/deviceManager.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +3 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/polyfills.d.ts +6 -0
- package/lib/typescript/utils/polyfills.d.ts.map +1 -0
- package/package.json +7 -6
- package/src/assets/illustrations/HighFive.tsx +41 -0
- package/src/node/createAuth.ts +116 -0
- package/src/node/index.ts +4 -0
- package/src/types/expo-vector-icons.d.ts +3 -0
- package/src/types/express.d.ts +5 -0
- package/src/types/react-redux.d.ts +5 -0
- package/src/ui/components/OxyProvider.tsx +136 -135
- package/src/ui/components/internal/GroupedPillButtons.tsx +253 -0
- package/src/ui/components/internal/TextField.tsx +694 -0
- package/src/ui/index.ts +6 -2
- package/src/ui/navigation/OxyRouter.tsx +8 -3
- package/src/ui/screens/FeedbackScreen.tsx +1042 -0
- package/src/ui/screens/SignInScreen.tsx +179 -222
- package/src/ui/screens/SignUpScreen.tsx +772 -608
- package/src/ui/store/index.ts +51 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
OxyProvider: true,
|
|
8
|
+
OxySignInButton: true,
|
|
9
|
+
OxyLogo: true,
|
|
10
|
+
Avatar: true,
|
|
11
|
+
FollowButton: true,
|
|
12
|
+
FontLoader: true,
|
|
13
|
+
setupFonts: true,
|
|
14
|
+
OxyIcon: true,
|
|
15
|
+
OxyContextProvider: true,
|
|
16
|
+
useOxy: true,
|
|
17
|
+
OxyContextState: true,
|
|
18
|
+
OxyContextProviderProps: true,
|
|
19
|
+
store: true,
|
|
20
|
+
fontFamilies: true,
|
|
21
|
+
fontStyles: true
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "Avatar", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return _Avatar.default;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "FollowButton", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return _FollowButton.default;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "FontLoader", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () {
|
|
38
|
+
return _FontLoader.FontLoader;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "OxyContextProvider", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () {
|
|
44
|
+
return _OxyContext.OxyContextProvider;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "OxyContextProviderProps", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () {
|
|
50
|
+
return _OxyContext.OxyContextProviderProps;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "OxyContextState", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () {
|
|
56
|
+
return _OxyContext.OxyContextState;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "OxyIcon", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () {
|
|
62
|
+
return _icon.OxyIcon;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "OxyLogo", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () {
|
|
68
|
+
return _OxyLogo.default;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "OxyProvider", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () {
|
|
74
|
+
return _OxyProvider.default;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "OxySignInButton", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () {
|
|
80
|
+
return _OxySignInButton.default;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "fontFamilies", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () {
|
|
86
|
+
return _fonts.fontFamilies;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "fontStyles", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () {
|
|
92
|
+
return _fonts.fontStyles;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "setupFonts", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () {
|
|
98
|
+
return _FontLoader.setupFonts;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "store", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () {
|
|
104
|
+
return _store.store;
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "useOxy", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () {
|
|
110
|
+
return _OxyContext.useOxy;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
var _OxyProvider = _interopRequireDefault(require("./components/OxyProvider"));
|
|
114
|
+
var _OxySignInButton = _interopRequireDefault(require("./components/OxySignInButton"));
|
|
115
|
+
var _OxyLogo = _interopRequireDefault(require("./components/OxyLogo"));
|
|
116
|
+
var _Avatar = _interopRequireDefault(require("./components/Avatar"));
|
|
117
|
+
var _FollowButton = _interopRequireDefault(require("./components/FollowButton"));
|
|
118
|
+
var _FontLoader = require("./components/FontLoader");
|
|
119
|
+
var _icon = require("./components/icon");
|
|
120
|
+
var _OxyContext = require("./context/OxyContext");
|
|
121
|
+
var _store = require("./store");
|
|
122
|
+
var _fonts = require("./styles/fonts");
|
|
123
|
+
var _types = require("./navigation/types");
|
|
124
|
+
Object.keys(_types).forEach(function (key) {
|
|
125
|
+
if (key === "default" || key === "__esModule") return;
|
|
126
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
127
|
+
if (key in exports && exports[key] === _types[key]) return;
|
|
128
|
+
Object.defineProperty(exports, key, {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () {
|
|
131
|
+
return _types[key];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
136
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_OxyProvider","_interopRequireDefault","require","_OxySignInButton","_OxyLogo","_Avatar","_FollowButton","_FontLoader","_icon","_OxyContext","_store","_fonts","_types","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","e","__esModule","default"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,aAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAGA,IAAAM,KAAA,GAAAN,OAAA;AAGA,IAAAO,WAAA,GAAAP,OAAA;AAQA,IAAAQ,MAAA,GAAAR,OAAA;AAIA,IAAAS,MAAA,GAAAT,OAAA;AAGA,IAAAU,MAAA,GAAAV,OAAA;AAAAW,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AAAmC,SAAAf,uBAAAwB,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _SignInScreen = _interopRequireDefault(require("../screens/SignInScreen"));
|
|
10
|
+
var _SignUpScreen = _interopRequireDefault(require("../screens/SignUpScreen"));
|
|
11
|
+
var _AccountCenterScreen = _interopRequireDefault(require("../screens/AccountCenterScreen"));
|
|
12
|
+
var _AccountSwitcherScreen = _interopRequireDefault(require("../screens/AccountSwitcherScreen"));
|
|
13
|
+
var _SessionManagementScreen = _interopRequireDefault(require("../screens/SessionManagementScreen"));
|
|
14
|
+
var _AccountOverviewScreen = _interopRequireDefault(require("../screens/AccountOverviewScreen"));
|
|
15
|
+
var _AccountSettingsScreen = _interopRequireDefault(require("../screens/AccountSettingsScreen"));
|
|
16
|
+
var _PremiumSubscriptionScreen = _interopRequireDefault(require("../screens/PremiumSubscriptionScreen"));
|
|
17
|
+
var _BillingManagementScreen = _interopRequireDefault(require("../screens/BillingManagementScreen"));
|
|
18
|
+
var _AppInfoScreen = _interopRequireDefault(require("../screens/AppInfoScreen"));
|
|
19
|
+
var _FeedbackScreen = _interopRequireDefault(require("../screens/FeedbackScreen"));
|
|
20
|
+
var _KarmaCenterScreen = _interopRequireDefault(require("../screens/karma/KarmaCenterScreen"));
|
|
21
|
+
var _KarmaLeaderboardScreen = _interopRequireDefault(require("../screens/karma/KarmaLeaderboardScreen"));
|
|
22
|
+
var _KarmaRulesScreen = _interopRequireDefault(require("../screens/karma/KarmaRulesScreen"));
|
|
23
|
+
var _KarmaAboutScreen = _interopRequireDefault(require("../screens/karma/KarmaAboutScreen"));
|
|
24
|
+
var _KarmaRewardsScreen = _interopRequireDefault(require("../screens/karma/KarmaRewardsScreen"));
|
|
25
|
+
var _KarmaFAQScreen = _interopRequireDefault(require("../screens/karma/KarmaFAQScreen"));
|
|
26
|
+
var _ProfileScreen = _interopRequireDefault(require("../screens/ProfileScreen"));
|
|
27
|
+
var _FileManagementScreen = _interopRequireDefault(require("../screens/FileManagementScreen"));
|
|
28
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
29
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
30
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
31
|
+
// Import screens
|
|
32
|
+
|
|
33
|
+
// Import types
|
|
34
|
+
|
|
35
|
+
// Define route configuration with screen components and default snap points
|
|
36
|
+
const routes = {
|
|
37
|
+
SignIn: {
|
|
38
|
+
component: _SignInScreen.default,
|
|
39
|
+
snapPoints: ['10%', '80%']
|
|
40
|
+
},
|
|
41
|
+
SignUp: {
|
|
42
|
+
component: _SignUpScreen.default,
|
|
43
|
+
snapPoints: ['10%', '90%']
|
|
44
|
+
},
|
|
45
|
+
AccountCenter: {
|
|
46
|
+
component: _AccountCenterScreen.default,
|
|
47
|
+
snapPoints: ['60%', '100%']
|
|
48
|
+
},
|
|
49
|
+
AccountSwitcher: {
|
|
50
|
+
component: _AccountSwitcherScreen.default,
|
|
51
|
+
snapPoints: ['70%', '100%']
|
|
52
|
+
},
|
|
53
|
+
SessionManagement: {
|
|
54
|
+
component: _SessionManagementScreen.default,
|
|
55
|
+
snapPoints: ['70%', '100%']
|
|
56
|
+
},
|
|
57
|
+
AccountOverview: {
|
|
58
|
+
component: _AccountOverviewScreen.default,
|
|
59
|
+
snapPoints: ['60%', '85%']
|
|
60
|
+
},
|
|
61
|
+
AccountSettings: {
|
|
62
|
+
component: _AccountSettingsScreen.default,
|
|
63
|
+
snapPoints: ['60%', '100%']
|
|
64
|
+
},
|
|
65
|
+
PremiumSubscription: {
|
|
66
|
+
component: _PremiumSubscriptionScreen.default,
|
|
67
|
+
snapPoints: ['70%', '100%']
|
|
68
|
+
},
|
|
69
|
+
BillingManagement: {
|
|
70
|
+
component: _BillingManagementScreen.default,
|
|
71
|
+
snapPoints: ['70%', '100%']
|
|
72
|
+
},
|
|
73
|
+
AppInfo: {
|
|
74
|
+
component: _AppInfoScreen.default,
|
|
75
|
+
snapPoints: ['60%', '90%']
|
|
76
|
+
},
|
|
77
|
+
Feedback: {
|
|
78
|
+
component: _FeedbackScreen.default,
|
|
79
|
+
snapPoints: ['70%', '100%']
|
|
80
|
+
},
|
|
81
|
+
KarmaCenter: {
|
|
82
|
+
component: _KarmaCenterScreen.default,
|
|
83
|
+
snapPoints: ['60%', '100%']
|
|
84
|
+
},
|
|
85
|
+
KarmaLeaderboard: {
|
|
86
|
+
component: _KarmaLeaderboardScreen.default,
|
|
87
|
+
snapPoints: ['60%', '100%']
|
|
88
|
+
},
|
|
89
|
+
KarmaRules: {
|
|
90
|
+
component: _KarmaRulesScreen.default,
|
|
91
|
+
snapPoints: ['60%', '90%']
|
|
92
|
+
},
|
|
93
|
+
AboutKarma: {
|
|
94
|
+
component: _KarmaAboutScreen.default,
|
|
95
|
+
snapPoints: ['60%', '90%']
|
|
96
|
+
},
|
|
97
|
+
KarmaRewards: {
|
|
98
|
+
component: _KarmaRewardsScreen.default,
|
|
99
|
+
snapPoints: ['60%', '90%']
|
|
100
|
+
},
|
|
101
|
+
KarmaFAQ: {
|
|
102
|
+
component: _KarmaFAQScreen.default,
|
|
103
|
+
snapPoints: ['60%', '90%']
|
|
104
|
+
},
|
|
105
|
+
Profile: {
|
|
106
|
+
component: _ProfileScreen.default,
|
|
107
|
+
snapPoints: ['60%', '90%']
|
|
108
|
+
},
|
|
109
|
+
FileManagement: {
|
|
110
|
+
component: _FileManagementScreen.default,
|
|
111
|
+
snapPoints: ['70%', '100%']
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
const OxyRouter = ({
|
|
115
|
+
oxyServices,
|
|
116
|
+
initialScreen,
|
|
117
|
+
onClose,
|
|
118
|
+
onAuthenticated,
|
|
119
|
+
theme,
|
|
120
|
+
adjustSnapPoints,
|
|
121
|
+
navigationRef,
|
|
122
|
+
containerWidth
|
|
123
|
+
}) => {
|
|
124
|
+
const [currentScreen, setCurrentScreen] = (0, _react.useState)(initialScreen);
|
|
125
|
+
const [screenHistory, setScreenHistory] = (0, _react.useState)([initialScreen]);
|
|
126
|
+
const [screenProps, setScreenProps] = (0, _react.useState)({});
|
|
127
|
+
|
|
128
|
+
// Update snap points when the screen changes
|
|
129
|
+
(0, _react.useEffect)(() => {
|
|
130
|
+
if (routes[currentScreen]) {
|
|
131
|
+
adjustSnapPoints(routes[currentScreen].snapPoints);
|
|
132
|
+
}
|
|
133
|
+
}, [currentScreen, adjustSnapPoints]);
|
|
134
|
+
|
|
135
|
+
// Navigation methods
|
|
136
|
+
const navigate = (screen, props = {}) => {
|
|
137
|
+
if (routes[screen]) {
|
|
138
|
+
setCurrentScreen(screen);
|
|
139
|
+
setScreenHistory(prev => [...prev, screen]);
|
|
140
|
+
setScreenProps(props);
|
|
141
|
+
} else {
|
|
142
|
+
console.error(`Screen "${screen}" not found`);
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Expose the navigate function to the parent component
|
|
147
|
+
(0, _react.useEffect)(() => {
|
|
148
|
+
if (navigationRef) {
|
|
149
|
+
navigationRef.current = navigate;
|
|
150
|
+
}
|
|
151
|
+
return () => {
|
|
152
|
+
if (navigationRef) {
|
|
153
|
+
navigationRef.current = null;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}, [navigate, navigationRef]);
|
|
157
|
+
|
|
158
|
+
// Expose the navigate method to the parent component (OxyProvider)
|
|
159
|
+
(0, _react.useEffect)(() => {
|
|
160
|
+
// Set up event listener for navigation events
|
|
161
|
+
const handleNavigationEvent = event => {
|
|
162
|
+
if (event && event.detail) {
|
|
163
|
+
// Support both string and object detail
|
|
164
|
+
if (typeof event.detail === 'string') {
|
|
165
|
+
const screenName = event.detail;
|
|
166
|
+
console.log(`Navigation event received for screen: ${screenName}`);
|
|
167
|
+
navigate(screenName);
|
|
168
|
+
} else if (typeof event.detail === 'object' && event.detail.screen) {
|
|
169
|
+
const {
|
|
170
|
+
screen,
|
|
171
|
+
props
|
|
172
|
+
} = event.detail;
|
|
173
|
+
console.log(`Navigation event received for screen: ${screen} with props`, props);
|
|
174
|
+
navigate(screen, props || {});
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
// For React Native - check for global navigation events
|
|
180
|
+
let intervalId = null;
|
|
181
|
+
if (typeof document !== 'undefined') {
|
|
182
|
+
// Web - use custom event listener
|
|
183
|
+
document.addEventListener('oxy:navigate', handleNavigationEvent);
|
|
184
|
+
} else {
|
|
185
|
+
// React Native - poll for global navigation events
|
|
186
|
+
intervalId = setInterval(() => {
|
|
187
|
+
const globalNav = globalThis.oxyNavigateEvent;
|
|
188
|
+
if (globalNav) {
|
|
189
|
+
console.log(`RN Navigation event received:`, globalNav);
|
|
190
|
+
if (globalNav.screen) {
|
|
191
|
+
navigate(globalNav.screen, globalNav.props || {});
|
|
192
|
+
}
|
|
193
|
+
// Clear the event after processing
|
|
194
|
+
globalThis.oxyNavigateEvent = null;
|
|
195
|
+
}
|
|
196
|
+
}, 100); // Check every 100ms
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Cleanup
|
|
200
|
+
return () => {
|
|
201
|
+
if (typeof document !== 'undefined') {
|
|
202
|
+
document.removeEventListener('oxy:navigate', handleNavigationEvent);
|
|
203
|
+
}
|
|
204
|
+
if (intervalId) {
|
|
205
|
+
clearInterval(intervalId);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}, []);
|
|
209
|
+
const goBack = () => {
|
|
210
|
+
if (screenHistory.length > 1) {
|
|
211
|
+
const newHistory = [...screenHistory];
|
|
212
|
+
newHistory.pop();
|
|
213
|
+
const previousScreen = newHistory[newHistory.length - 1];
|
|
214
|
+
setCurrentScreen(previousScreen);
|
|
215
|
+
setScreenHistory(newHistory);
|
|
216
|
+
} else {
|
|
217
|
+
// If no history, close the UI
|
|
218
|
+
if (onClose) {
|
|
219
|
+
onClose();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
// Render the current screen component
|
|
225
|
+
const renderScreen = () => {
|
|
226
|
+
const CurrentScreen = routes[currentScreen]?.component;
|
|
227
|
+
console.log('[OxyRouter] Rendering screen:', currentScreen);
|
|
228
|
+
console.log('[OxyRouter] Available routes:', Object.keys(routes));
|
|
229
|
+
console.log('[OxyRouter] Current screen component found:', !!CurrentScreen);
|
|
230
|
+
if (!CurrentScreen) {
|
|
231
|
+
console.error(`Screen "${currentScreen}" not found`);
|
|
232
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
233
|
+
style: styles.errorContainer
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
console.log('[OxyRouter] Rendering screen component for:', currentScreen);
|
|
237
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(CurrentScreen, {
|
|
238
|
+
oxyServices: oxyServices,
|
|
239
|
+
navigate: navigate,
|
|
240
|
+
goBack: goBack,
|
|
241
|
+
onClose: onClose,
|
|
242
|
+
onAuthenticated: onAuthenticated,
|
|
243
|
+
theme: theme,
|
|
244
|
+
containerWidth: containerWidth,
|
|
245
|
+
...screenProps
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
249
|
+
style: styles.container,
|
|
250
|
+
children: renderScreen()
|
|
251
|
+
});
|
|
252
|
+
};
|
|
253
|
+
const styles = _reactNative.StyleSheet.create({
|
|
254
|
+
container: {
|
|
255
|
+
flex: 1,
|
|
256
|
+
minHeight: 200,
|
|
257
|
+
// Ensure minimum height
|
|
258
|
+
backgroundColor: 'transparent' // Make sure it's visible
|
|
259
|
+
},
|
|
260
|
+
errorContainer: {
|
|
261
|
+
flex: 1,
|
|
262
|
+
justifyContent: 'center',
|
|
263
|
+
alignItems: 'center',
|
|
264
|
+
minHeight: 100,
|
|
265
|
+
backgroundColor: 'red' // Make errors visible
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
var _default = exports.default = OxyRouter;
|
|
269
|
+
//# sourceMappingURL=OxyRouter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_SignInScreen","_interopRequireDefault","_SignUpScreen","_AccountCenterScreen","_AccountSwitcherScreen","_SessionManagementScreen","_AccountOverviewScreen","_AccountSettingsScreen","_PremiumSubscriptionScreen","_BillingManagementScreen","_AppInfoScreen","_FeedbackScreen","_KarmaCenterScreen","_KarmaLeaderboardScreen","_KarmaRulesScreen","_KarmaAboutScreen","_KarmaRewardsScreen","_KarmaFAQScreen","_ProfileScreen","_FileManagementScreen","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","routes","SignIn","component","SignInScreen","snapPoints","SignUp","SignUpScreen","AccountCenter","AccountCenterScreen","AccountSwitcher","AccountSwitcherScreen","SessionManagement","SessionManagementScreen","AccountOverview","AccountOverviewScreen","AccountSettings","AccountSettingsScreen","PremiumSubscription","PremiumSubscriptionScreen","BillingManagement","BillingManagementScreen","AppInfo","AppInfoScreen","Feedback","FeedbackScreen","KarmaCenter","KarmaCenterScreen","KarmaLeaderboard","KarmaLeaderboardScreen","KarmaRules","KarmaRulesScreen","AboutKarma","KarmaAboutScreen","KarmaRewards","KarmaRewardsScreen","KarmaFAQ","KarmaFAQScreen","Profile","ProfileScreen","FileManagement","FileManagementScreen","OxyRouter","oxyServices","initialScreen","onClose","onAuthenticated","theme","adjustSnapPoints","navigationRef","containerWidth","currentScreen","setCurrentScreen","useState","screenHistory","setScreenHistory","screenProps","setScreenProps","useEffect","navigate","screen","props","prev","console","error","current","handleNavigationEvent","event","detail","screenName","log","intervalId","document","addEventListener","setInterval","globalNav","globalThis","oxyNavigateEvent","removeEventListener","clearInterval","goBack","length","newHistory","pop","previousScreen","renderScreen","CurrentScreen","keys","jsx","View","style","styles","errorContainer","container","children","StyleSheet","create","flex","minHeight","backgroundColor","justifyContent","alignItems","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/navigation/OxyRouter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,aAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,oBAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,sBAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,wBAAA,GAAAJ,sBAAA,CAAAH,OAAA;AACA,IAAAQ,sBAAA,GAAAL,sBAAA,CAAAH,OAAA;AACA,IAAAS,sBAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,0BAAA,GAAAP,sBAAA,CAAAH,OAAA;AACA,IAAAW,wBAAA,GAAAR,sBAAA,CAAAH,OAAA;AACA,IAAAY,cAAA,GAAAT,sBAAA,CAAAH,OAAA;AACA,IAAAa,eAAA,GAAAV,sBAAA,CAAAH,OAAA;AACA,IAAAc,kBAAA,GAAAX,sBAAA,CAAAH,OAAA;AACA,IAAAe,uBAAA,GAAAZ,sBAAA,CAAAH,OAAA;AACA,IAAAgB,iBAAA,GAAAb,sBAAA,CAAAH,OAAA;AACA,IAAAiB,iBAAA,GAAAd,sBAAA,CAAAH,OAAA;AACA,IAAAkB,mBAAA,GAAAf,sBAAA,CAAAH,OAAA;AACA,IAAAmB,eAAA,GAAAhB,sBAAA,CAAAH,OAAA;AACA,IAAAoB,cAAA,GAAAjB,sBAAA,CAAAH,OAAA;AACA,IAAAqB,qBAAA,GAAAlB,sBAAA,CAAAH,OAAA;AAAmE,IAAAsB,WAAA,GAAAtB,OAAA;AAAA,SAAAG,uBAAAoB,CAAA,WAAAA,CAAA,IAAAA,CA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EAAE;IACPI,IAAI,EAAE,CAAC;IACPC,SAAS,EAAE,GAAG;IAAE;IAChBC,eAAe,EAAE,aAAa,CAAE;EACpC,CAAC;EACDP,cAAc,EAAE;IACZK,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBH,SAAS,EAAE,GAAG;IACdC,eAAe,EAAE,KAAK,CAAE;EAC5B;AACJ,CAAC,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAAvH,OAAA,GAEY0D,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["ui/navigation/types.ts"],"mappings":"","ignoreList":[]}
|