@oxyhq/services 5.4.0 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/src/__tests__/ui/screens/AccountSettingsScreen.test.tsx +8 -8
- package/src/core/index.ts +103 -0
- package/src/lib/sonner.ts +9 -4
- package/src/ui/components/OxyProvider.tsx +5 -5
- package/src/ui/context/OxyContext.tsx +61 -41
- package/src/ui/screens/AccountManagementDemo.tsx +1 -1
- package/src/ui/screens/AccountOverviewScreen.tsx +44 -26
- package/src/ui/screens/AccountSettingsScreen.tsx +25 -19
- package/src/ui/screens/AppInfoScreen.tsx +5 -5
- package/src/ui/screens/FileManagementScreen.tsx +246 -211
- package/src/ui/screens/SignInScreen.tsx +382 -326
- package/src/ui/screens/SignUpScreen.tsx +443 -273
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +50 -29
- package/lib/commonjs/assets/OxyLogo.svg +0 -1
- package/lib/commonjs/assets/assets/OxyLogo.svg +0 -1
- 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 +0 -67
- package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +0 -1
- 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 +0 -53
- package/lib/commonjs/assets/icons/OxyServices.js.map +0 -1
- package/lib/commonjs/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/commonjs/constants/version.js +0 -28
- package/lib/commonjs/constants/version.js.map +0 -1
- package/lib/commonjs/core/index.js +0 -1543
- package/lib/commonjs/core/index.js.map +0 -1
- package/lib/commonjs/index.js +0 -160
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/lib/react-native-polyfills.js +0 -181
- package/lib/commonjs/lib/react-native-polyfills.js.map +0 -1
- package/lib/commonjs/lib/sonner-safe.js +0 -41
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +0 -18
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/lib/sonner.web.js +0 -17
- package/lib/commonjs/lib/sonner.web.js.map +0 -1
- package/lib/commonjs/models/interfaces.js +0 -2
- package/lib/commonjs/models/interfaces.js.map +0 -1
- package/lib/commonjs/models/secureSession.js +0 -2
- package/lib/commonjs/models/secureSession.js.map +0 -1
- package/lib/commonjs/node/index.js +0 -54
- package/lib/commonjs/node/index.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -98
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/FollowButton.js +0 -246
- package/lib/commonjs/ui/components/FollowButton.js.map +0 -1
- package/lib/commonjs/ui/components/FontLoader.js +0 -181
- package/lib/commonjs/ui/components/FontLoader.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedItem.js +0 -109
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -33
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/OxyLogo.js +0 -56
- package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
- package/lib/commonjs/ui/components/OxyProvider.js +0 -517
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +0 -178
- package/lib/commonjs/ui/components/OxySignInButton.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileCard.js +0 -124
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +0 -87
- package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -36
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -35
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/bottomSheet/index.js +0 -37
- package/lib/commonjs/ui/components/bottomSheet/index.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -27
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +0 -14
- package/lib/commonjs/ui/components/icon/index.js.map +0 -1
- package/lib/commonjs/ui/components/index.js +0 -97
- package/lib/commonjs/ui/components/index.js.map +0 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -568
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/index.js +0 -128
- package/lib/commonjs/ui/index.js.map +0 -1
- package/lib/commonjs/ui/navigation/OxyRouter.js +0 -264
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +0 -1
- package/lib/commonjs/ui/navigation/types.js +0 -6
- package/lib/commonjs/ui/navigation/types.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +0 -313
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountManagementDemo.js +0 -299
- package/lib/commonjs/ui/screens/AccountManagementDemo.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +0 -837
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +0 -836
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +0 -788
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +0 -664
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/BillingManagementScreen.js +0 -636
- package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +0 -2497
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +0 -1620
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +0 -450
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +0 -449
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SignInScreen.js +0 -956
- package/lib/commonjs/ui/screens/SignInScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SignUpScreen.js +0 -762
- package/lib/commonjs/ui/screens/SignUpScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -88
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +0 -364
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +0 -202
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +0 -148
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +0 -127
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +0 -105
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/commonjs/ui/styles/FONTS.md +0 -126
- package/lib/commonjs/ui/styles/fonts.js +0 -84
- package/lib/commonjs/ui/styles/fonts.js.map +0 -1
- package/lib/commonjs/ui/styles/index.js +0 -28
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +0 -121
- package/lib/commonjs/ui/styles/theme.js.map +0 -1
- package/lib/commonjs/utils/deviceManager.js +0 -173
- package/lib/commonjs/utils/deviceManager.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -13
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/polyfills.js +0 -42
- package/lib/commonjs/utils/polyfills.js.map +0 -1
- package/lib/module/assets/OxyLogo.svg +0 -1
- package/lib/module/assets/assets/OxyLogo.svg +0 -1
- 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 +0 -67
- package/lib/module/assets/assets/icons/logo_OxyServices.svg +0 -1
- 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 +0 -46
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/icons/logo_OxyServices.svg +0 -1
- package/lib/module/constants/version.js +0 -21
- package/lib/module/constants/version.js.map +0 -1
- package/lib/module/core/index.js +0 -1517
- package/lib/module/core/index.js.map +0 -1
- package/lib/module/index.js +0 -48
- package/lib/module/index.js.map +0 -1
- package/lib/module/lib/react-native-polyfills.js +0 -179
- package/lib/module/lib/react-native-polyfills.js.map +0 -1
- package/lib/module/lib/sonner-safe.js +0 -37
- package/lib/module/lib/sonner-safe.js.map +0 -1
- package/lib/module/lib/sonner.js +0 -8
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/lib/sonner.web.js +0 -4
- package/lib/module/lib/sonner.web.js.map +0 -1
- package/lib/module/models/interfaces.js +0 -2
- package/lib/module/models/interfaces.js.map +0 -1
- package/lib/module/models/secureSession.js +0 -2
- package/lib/module/models/secureSession.js.map +0 -1
- package/lib/module/node/index.js +0 -23
- package/lib/module/node/index.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/ui/components/Avatar.js +0 -93
- package/lib/module/ui/components/Avatar.js.map +0 -1
- package/lib/module/ui/components/FollowButton.js +0 -241
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +0 -176
- package/lib/module/ui/components/FontLoader.js.map +0 -1
- package/lib/module/ui/components/GroupedItem.js +0 -104
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -28
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -49
- package/lib/module/ui/components/OxyLogo.js.map +0 -1
- package/lib/module/ui/components/OxyProvider.js +0 -511
- package/lib/module/ui/components/OxyProvider.js.map +0 -1
- package/lib/module/ui/components/OxySignInButton.js +0 -172
- package/lib/module/ui/components/OxySignInButton.js.map +0 -1
- package/lib/module/ui/components/ProfileCard.js +0 -119
- package/lib/module/ui/components/ProfileCard.js.map +0 -1
- package/lib/module/ui/components/QuickActions.js +0 -82
- package/lib/module/ui/components/QuickActions.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -31
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -30
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/bottomSheet/index.js +0 -5
- package/lib/module/ui/components/bottomSheet/index.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -22
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +0 -4
- package/lib/module/ui/components/icon/index.js.map +0 -1
- package/lib/module/ui/components/index.js +0 -18
- package/lib/module/ui/components/index.js.map +0 -1
- package/lib/module/ui/context/OxyContext.js +0 -563
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/index.js +0 -24
- package/lib/module/ui/index.js.map +0 -1
- package/lib/module/ui/navigation/OxyRouter.js +0 -257
- package/lib/module/ui/navigation/OxyRouter.js.map +0 -1
- package/lib/module/ui/navigation/types.js +0 -4
- package/lib/module/ui/navigation/types.js.map +0 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +0 -308
- package/lib/module/ui/screens/AccountCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountManagementDemo.js +0 -296
- package/lib/module/ui/screens/AccountManagementDemo.js.map +0 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +0 -831
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -830
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -782
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AppInfoScreen.js +0 -658
- package/lib/module/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/module/ui/screens/BillingManagementScreen.js +0 -631
- package/lib/module/ui/screens/BillingManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -2492
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +0 -1615
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +0 -444
- package/lib/module/ui/screens/ProfileScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +0 -444
- package/lib/module/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/SignInScreen.js +0 -950
- package/lib/module/ui/screens/SignInScreen.js.map +0 -1
- package/lib/module/ui/screens/SignUpScreen.js +0 -755
- package/lib/module/ui/screens/SignUpScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -83
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +0 -358
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +0 -197
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -142
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +0 -122
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +0 -100
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +0 -1
- package/lib/module/ui/styles/FONTS.md +0 -126
- package/lib/module/ui/styles/fonts.js +0 -81
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/module/ui/styles/index.js +0 -5
- package/lib/module/ui/styles/index.js.map +0 -1
- package/lib/module/ui/styles/theme.js +0 -114
- package/lib/module/ui/styles/theme.js.map +0 -1
- package/lib/module/utils/deviceManager.js +0 -167
- package/lib/module/utils/deviceManager.js.map +0 -1
- package/lib/module/utils/index.js +0 -4
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/polyfills.js +0 -36
- package/lib/module/utils/polyfills.js.map +0 -1
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -29
- package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
- package/lib/typescript/constants/version.d.ts +0 -14
- package/lib/typescript/constants/version.d.ts.map +0 -1
- package/lib/typescript/core/index.d.ts +0 -563
- package/lib/typescript/core/index.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -20
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/lib/react-native-polyfills.d.ts +0 -8
- package/lib/typescript/lib/react-native-polyfills.d.ts.map +0 -1
- package/lib/typescript/lib/sonner-safe.d.ts +0 -11
- package/lib/typescript/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/lib/sonner.d.ts +0 -3
- package/lib/typescript/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/lib/sonner.web.d.ts +0 -2
- package/lib/typescript/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/models/interfaces.d.ts +0 -179
- package/lib/typescript/models/interfaces.d.ts.map +0 -1
- package/lib/typescript/models/secureSession.d.ts +0 -27
- package/lib/typescript/models/secureSession.d.ts.map +0 -1
- package/lib/typescript/node/index.d.ts +0 -11
- package/lib/typescript/node/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/Avatar.d.ts +0 -62
- package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -92
- package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -15
- package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -17
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -19
- package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -29
- package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -12
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -70
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -20
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/ui/components/Section.d.ts +0 -11
- package/lib/typescript/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/ui/components/bottomSheet/index.d.ts +0 -4
- package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/ui/components/icon/index.d.ts +0 -3
- package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
- package/lib/typescript/ui/components/index.d.ts +0 -13
- package/lib/typescript/ui/components/index.d.ts.map +0 -1
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -42
- package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
- package/lib/typescript/ui/index.d.ts +0 -15
- package/lib/typescript/ui/index.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/OxyRouter.d.ts +0 -5
- package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +0 -1
- package/lib/typescript/ui/navigation/types.d.ts +0 -116
- package/lib/typescript/ui/navigation/types.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts +0 -8
- package/lib/typescript/ui/screens/AccountManagementDemo.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/BillingManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -9
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SignInScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SignInScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/SignUpScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
- package/lib/typescript/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/ui/styles/index.d.ts +0 -3
- package/lib/typescript/ui/styles/index.d.ts.map +0 -1
- package/lib/typescript/ui/styles/theme.d.ts +0 -68
- package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
- package/lib/typescript/utils/deviceManager.d.ts +0 -66
- package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
- package/lib/typescript/utils/index.d.ts +0 -3
- package/lib/typescript/utils/index.d.ts.map +0 -1
- package/lib/typescript/utils/polyfills.d.ts +0 -6
- package/lib/typescript/utils/polyfills.d.ts.map +0 -1
- package/src/lib/react-native-polyfills.ts +0 -219
- package/src/lib/sonner-safe.ts +0 -37
- package/src/lib/sonner.web.ts +0 -1
|
@@ -1,449 +0,0 @@
|
|
|
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 _OxyContext = require("../context/OxyContext");
|
|
10
|
-
var _sonner = require("../../lib/sonner");
|
|
11
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
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); }
|
|
13
|
-
const SessionManagementScreen = ({
|
|
14
|
-
onClose,
|
|
15
|
-
theme
|
|
16
|
-
}) => {
|
|
17
|
-
const {
|
|
18
|
-
sessions: userSessions,
|
|
19
|
-
activeSessionId,
|
|
20
|
-
refreshSessions,
|
|
21
|
-
logout,
|
|
22
|
-
oxyServices
|
|
23
|
-
} = (0, _OxyContext.useOxy)();
|
|
24
|
-
const [loading, setLoading] = (0, _react.useState)(true);
|
|
25
|
-
const [refreshing, setRefreshing] = (0, _react.useState)(false);
|
|
26
|
-
const [actionLoading, setActionLoading] = (0, _react.useState)(null);
|
|
27
|
-
const isDarkTheme = theme === 'dark';
|
|
28
|
-
const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
|
|
29
|
-
const backgroundColor = isDarkTheme ? '#121212' : '#FFFFFF';
|
|
30
|
-
const secondaryBackgroundColor = isDarkTheme ? '#222222' : '#F5F5F5';
|
|
31
|
-
const borderColor = isDarkTheme ? '#444444' : '#E0E0E0';
|
|
32
|
-
const primaryColor = '#0066CC';
|
|
33
|
-
const dangerColor = '#D32F2F';
|
|
34
|
-
const successColor = '#2E7D32';
|
|
35
|
-
const loadSessions = async (isRefresh = false) => {
|
|
36
|
-
try {
|
|
37
|
-
if (isRefresh) {
|
|
38
|
-
setRefreshing(true);
|
|
39
|
-
} else {
|
|
40
|
-
setLoading(true);
|
|
41
|
-
}
|
|
42
|
-
await refreshSessions();
|
|
43
|
-
} catch (error) {
|
|
44
|
-
console.error('Failed to load sessions:', error);
|
|
45
|
-
_reactNative.Alert.alert('Error', 'Failed to load sessions. Please try again.', [{
|
|
46
|
-
text: 'OK'
|
|
47
|
-
}]);
|
|
48
|
-
} finally {
|
|
49
|
-
setLoading(false);
|
|
50
|
-
setRefreshing(false);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const handleLogoutSession = async sessionId => {
|
|
54
|
-
_reactNative.Alert.alert('Logout Session', 'Are you sure you want to logout this session?', [{
|
|
55
|
-
text: 'Cancel',
|
|
56
|
-
style: 'cancel'
|
|
57
|
-
}, {
|
|
58
|
-
text: 'Logout',
|
|
59
|
-
style: 'destructive',
|
|
60
|
-
onPress: async () => {
|
|
61
|
-
try {
|
|
62
|
-
setActionLoading(sessionId);
|
|
63
|
-
await logout(sessionId);
|
|
64
|
-
|
|
65
|
-
// Refresh sessions to update the list
|
|
66
|
-
await refreshSessions();
|
|
67
|
-
_sonner.toast.success('Session logged out successfully');
|
|
68
|
-
} catch (error) {
|
|
69
|
-
console.error('Logout session failed:', error);
|
|
70
|
-
_sonner.toast.error('Failed to logout session. Please try again.');
|
|
71
|
-
} finally {
|
|
72
|
-
setActionLoading(null);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}]);
|
|
76
|
-
};
|
|
77
|
-
const handleLogoutOtherSessions = async () => {
|
|
78
|
-
const otherSessionsCount = userSessions.filter(s => s.sessionId !== activeSessionId).length;
|
|
79
|
-
if (otherSessionsCount === 0) {
|
|
80
|
-
_sonner.toast.info('No other sessions to logout.');
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
_reactNative.Alert.alert('Logout Other Sessions', `This will logout ${otherSessionsCount} other session${otherSessionsCount > 1 ? 's' : ''}. Continue?`, [{
|
|
84
|
-
text: 'Cancel',
|
|
85
|
-
style: 'cancel'
|
|
86
|
-
}, {
|
|
87
|
-
text: 'Logout Others',
|
|
88
|
-
style: 'destructive',
|
|
89
|
-
onPress: async () => {
|
|
90
|
-
try {
|
|
91
|
-
setActionLoading('others');
|
|
92
|
-
// Logout each non-active session
|
|
93
|
-
for (const session of userSessions) {
|
|
94
|
-
if (session.sessionId !== activeSessionId) {
|
|
95
|
-
await logout(session.sessionId);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Refresh sessions to update the list
|
|
100
|
-
await refreshSessions();
|
|
101
|
-
_sonner.toast.success('Other sessions logged out successfully');
|
|
102
|
-
} catch (error) {
|
|
103
|
-
console.error('Logout other sessions failed:', error);
|
|
104
|
-
_sonner.toast.error('Failed to logout other sessions. Please try again.');
|
|
105
|
-
} finally {
|
|
106
|
-
setActionLoading(null);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}]);
|
|
110
|
-
};
|
|
111
|
-
const handleLogoutAllSessions = async () => {
|
|
112
|
-
_reactNative.Alert.alert('Logout All Sessions', 'This will logout all sessions including this one and you will need to sign in again. Continue?', [{
|
|
113
|
-
text: 'Cancel',
|
|
114
|
-
style: 'cancel'
|
|
115
|
-
}, {
|
|
116
|
-
text: 'Logout All',
|
|
117
|
-
style: 'destructive',
|
|
118
|
-
onPress: async () => {
|
|
119
|
-
try {
|
|
120
|
-
setActionLoading('all');
|
|
121
|
-
await oxyServices.logoutAllSessions();
|
|
122
|
-
// No need to update local state as user will be logged out
|
|
123
|
-
} catch (error) {
|
|
124
|
-
console.error('Logout all sessions failed:', error);
|
|
125
|
-
_sonner.toast.error('Failed to logout all sessions. Please try again.');
|
|
126
|
-
setActionLoading(null);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}]);
|
|
130
|
-
};
|
|
131
|
-
const formatDate = dateString => {
|
|
132
|
-
const date = new Date(dateString);
|
|
133
|
-
const now = new Date();
|
|
134
|
-
const diffInMinutes = Math.floor((now.getTime() - date.getTime()) / (1000 * 60));
|
|
135
|
-
if (diffInMinutes < 1) return 'Just now';
|
|
136
|
-
if (diffInMinutes < 60) return `${diffInMinutes}m ago`;
|
|
137
|
-
if (diffInMinutes < 1440) return `${Math.floor(diffInMinutes / 60)}h ago`;
|
|
138
|
-
if (diffInMinutes < 10080) return `${Math.floor(diffInMinutes / 1440)}d ago`;
|
|
139
|
-
return date.toLocaleDateString();
|
|
140
|
-
};
|
|
141
|
-
const getDeviceIcon = (deviceType, platform) => {
|
|
142
|
-
if (platform.toLowerCase().includes('ios') || platform.toLowerCase().includes('iphone')) {
|
|
143
|
-
return '📱';
|
|
144
|
-
}
|
|
145
|
-
if (platform.toLowerCase().includes('android')) {
|
|
146
|
-
return '📱';
|
|
147
|
-
}
|
|
148
|
-
if (deviceType.toLowerCase().includes('mobile')) {
|
|
149
|
-
return '📱';
|
|
150
|
-
}
|
|
151
|
-
if (deviceType.toLowerCase().includes('tablet')) {
|
|
152
|
-
return '📱';
|
|
153
|
-
}
|
|
154
|
-
return '💻'; // Desktop/web
|
|
155
|
-
};
|
|
156
|
-
(0, _react.useEffect)(() => {
|
|
157
|
-
loadSessions();
|
|
158
|
-
}, []);
|
|
159
|
-
if (loading) {
|
|
160
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
161
|
-
style: [styles.container, styles.centerContent, {
|
|
162
|
-
backgroundColor
|
|
163
|
-
}],
|
|
164
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
165
|
-
size: "large",
|
|
166
|
-
color: primaryColor
|
|
167
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
168
|
-
style: [styles.loadingText, {
|
|
169
|
-
color: textColor
|
|
170
|
-
}],
|
|
171
|
-
children: "Loading sessions..."
|
|
172
|
-
})]
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
176
|
-
style: [styles.container, {
|
|
177
|
-
backgroundColor
|
|
178
|
-
}],
|
|
179
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
180
|
-
style: styles.header,
|
|
181
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
182
|
-
style: [styles.title, {
|
|
183
|
-
color: textColor
|
|
184
|
-
}],
|
|
185
|
-
children: "Active Sessions"
|
|
186
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
187
|
-
style: [styles.subtitle, {
|
|
188
|
-
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
189
|
-
}],
|
|
190
|
-
children: "Manage your active sessions across all devices"
|
|
191
|
-
})]
|
|
192
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
193
|
-
style: styles.scrollView,
|
|
194
|
-
contentContainerStyle: styles.scrollContainer,
|
|
195
|
-
refreshControl: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.RefreshControl, {
|
|
196
|
-
refreshing: refreshing,
|
|
197
|
-
onRefresh: () => loadSessions(true),
|
|
198
|
-
tintColor: primaryColor
|
|
199
|
-
}),
|
|
200
|
-
children: userSessions.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
201
|
-
children: [userSessions.map(session => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
202
|
-
style: [styles.sessionCard, {
|
|
203
|
-
backgroundColor: secondaryBackgroundColor,
|
|
204
|
-
borderColor,
|
|
205
|
-
borderLeftColor: session.sessionId === activeSessionId ? successColor : borderColor
|
|
206
|
-
}],
|
|
207
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
208
|
-
style: styles.sessionHeader,
|
|
209
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
210
|
-
style: styles.sessionTitleRow,
|
|
211
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
212
|
-
style: styles.deviceIcon,
|
|
213
|
-
children: "\uD83D\uDCF1"
|
|
214
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
215
|
-
style: styles.sessionTitleText,
|
|
216
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
217
|
-
style: [styles.deviceName, {
|
|
218
|
-
color: textColor
|
|
219
|
-
}],
|
|
220
|
-
children: ["Session ", session.sessionId.substring(0, 8), "..."]
|
|
221
|
-
}), session.sessionId === activeSessionId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
222
|
-
style: [styles.currentBadge, {
|
|
223
|
-
color: successColor
|
|
224
|
-
}],
|
|
225
|
-
children: "Current Session"
|
|
226
|
-
})]
|
|
227
|
-
})]
|
|
228
|
-
})
|
|
229
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
230
|
-
style: styles.sessionDetails,
|
|
231
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
232
|
-
style: [styles.sessionDetail, {
|
|
233
|
-
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
234
|
-
}],
|
|
235
|
-
children: ["Device ID: ", session.deviceId.substring(0, 12), "..."]
|
|
236
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
237
|
-
style: [styles.sessionDetail, {
|
|
238
|
-
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
239
|
-
}],
|
|
240
|
-
children: ["Last active: ", new Date(session.lastActive).toLocaleDateString()]
|
|
241
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
|
|
242
|
-
style: [styles.sessionDetail, {
|
|
243
|
-
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
244
|
-
}],
|
|
245
|
-
children: ["Expires: ", new Date(session.expiresAt).toLocaleDateString()]
|
|
246
|
-
})]
|
|
247
|
-
}), session.sessionId !== activeSessionId && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
248
|
-
style: [styles.logoutButton, {
|
|
249
|
-
backgroundColor: isDarkTheme ? '#400000' : '#FFEBEE'
|
|
250
|
-
}],
|
|
251
|
-
onPress: () => handleLogoutSession(session.sessionId),
|
|
252
|
-
disabled: actionLoading === session.sessionId,
|
|
253
|
-
children: actionLoading === session.sessionId ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
254
|
-
size: "small",
|
|
255
|
-
color: dangerColor
|
|
256
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
257
|
-
style: [styles.logoutButtonText, {
|
|
258
|
-
color: dangerColor
|
|
259
|
-
}],
|
|
260
|
-
children: "Logout"
|
|
261
|
-
})
|
|
262
|
-
})]
|
|
263
|
-
}, session.sessionId)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
264
|
-
style: styles.bulkActions,
|
|
265
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
266
|
-
style: [styles.bulkActionButton, {
|
|
267
|
-
backgroundColor: isDarkTheme ? '#1A1A1A' : '#F0F0F0',
|
|
268
|
-
borderColor
|
|
269
|
-
}],
|
|
270
|
-
onPress: handleLogoutOtherSessions,
|
|
271
|
-
disabled: actionLoading === 'others' || userSessions.filter(s => s.sessionId !== activeSessionId).length === 0,
|
|
272
|
-
children: actionLoading === 'others' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
273
|
-
size: "small",
|
|
274
|
-
color: primaryColor
|
|
275
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
276
|
-
style: [styles.bulkActionButtonText, {
|
|
277
|
-
color: textColor
|
|
278
|
-
}],
|
|
279
|
-
children: "Logout Other Sessions"
|
|
280
|
-
})
|
|
281
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
282
|
-
style: [styles.bulkActionButton, styles.dangerButton, {
|
|
283
|
-
backgroundColor: isDarkTheme ? '#400000' : '#FFEBEE'
|
|
284
|
-
}],
|
|
285
|
-
onPress: handleLogoutAllSessions,
|
|
286
|
-
disabled: actionLoading === 'all',
|
|
287
|
-
children: actionLoading === 'all' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
|
|
288
|
-
size: "small",
|
|
289
|
-
color: dangerColor
|
|
290
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
291
|
-
style: [styles.bulkActionButtonText, {
|
|
292
|
-
color: dangerColor
|
|
293
|
-
}],
|
|
294
|
-
children: "Logout All Sessions"
|
|
295
|
-
})
|
|
296
|
-
})]
|
|
297
|
-
})]
|
|
298
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
299
|
-
style: styles.emptyState,
|
|
300
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
301
|
-
style: [styles.emptyStateText, {
|
|
302
|
-
color: isDarkTheme ? '#BBBBBB' : '#666666'
|
|
303
|
-
}],
|
|
304
|
-
children: "No active sessions found"
|
|
305
|
-
})
|
|
306
|
-
})
|
|
307
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
308
|
-
style: [styles.footer, {
|
|
309
|
-
borderTopColor: borderColor
|
|
310
|
-
}],
|
|
311
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
312
|
-
style: styles.closeButton,
|
|
313
|
-
onPress: onClose,
|
|
314
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
315
|
-
style: [styles.closeButtonText, {
|
|
316
|
-
color: primaryColor
|
|
317
|
-
}],
|
|
318
|
-
children: "Close"
|
|
319
|
-
})
|
|
320
|
-
})
|
|
321
|
-
})]
|
|
322
|
-
});
|
|
323
|
-
};
|
|
324
|
-
const styles = _reactNative.StyleSheet.create({
|
|
325
|
-
container: {
|
|
326
|
-
flex: 1
|
|
327
|
-
},
|
|
328
|
-
centerContent: {
|
|
329
|
-
justifyContent: 'center',
|
|
330
|
-
alignItems: 'center'
|
|
331
|
-
},
|
|
332
|
-
header: {
|
|
333
|
-
padding: 20,
|
|
334
|
-
paddingBottom: 16
|
|
335
|
-
},
|
|
336
|
-
title: {
|
|
337
|
-
fontFamily: _reactNative.Platform.OS === 'web' ? 'Phudu' : 'phuduSemiBold',
|
|
338
|
-
fontWeight: _reactNative.Platform.OS === 'web' ? '600' : undefined,
|
|
339
|
-
fontSize: 24,
|
|
340
|
-
marginBottom: 8
|
|
341
|
-
},
|
|
342
|
-
subtitle: {
|
|
343
|
-
fontSize: 16,
|
|
344
|
-
lineHeight: 20
|
|
345
|
-
},
|
|
346
|
-
scrollView: {
|
|
347
|
-
flex: 1
|
|
348
|
-
},
|
|
349
|
-
scrollContainer: {
|
|
350
|
-
padding: 20,
|
|
351
|
-
paddingTop: 0
|
|
352
|
-
},
|
|
353
|
-
sessionCard: {
|
|
354
|
-
borderRadius: 12,
|
|
355
|
-
borderWidth: 1,
|
|
356
|
-
borderLeftWidth: 4,
|
|
357
|
-
padding: 16,
|
|
358
|
-
marginBottom: 12
|
|
359
|
-
},
|
|
360
|
-
sessionHeader: {
|
|
361
|
-
marginBottom: 12
|
|
362
|
-
},
|
|
363
|
-
sessionTitleRow: {
|
|
364
|
-
flexDirection: 'row',
|
|
365
|
-
alignItems: 'center'
|
|
366
|
-
},
|
|
367
|
-
deviceIcon: {
|
|
368
|
-
fontSize: 20,
|
|
369
|
-
marginRight: 12
|
|
370
|
-
},
|
|
371
|
-
sessionTitleText: {
|
|
372
|
-
flex: 1
|
|
373
|
-
},
|
|
374
|
-
deviceName: {
|
|
375
|
-
fontSize: 16,
|
|
376
|
-
fontWeight: '600',
|
|
377
|
-
marginBottom: 2
|
|
378
|
-
},
|
|
379
|
-
currentBadge: {
|
|
380
|
-
fontSize: 12,
|
|
381
|
-
fontWeight: '500'
|
|
382
|
-
},
|
|
383
|
-
sessionDetails: {
|
|
384
|
-
marginBottom: 12
|
|
385
|
-
},
|
|
386
|
-
sessionDetail: {
|
|
387
|
-
fontSize: 14,
|
|
388
|
-
marginBottom: 2
|
|
389
|
-
},
|
|
390
|
-
logoutButton: {
|
|
391
|
-
paddingVertical: 8,
|
|
392
|
-
paddingHorizontal: 16,
|
|
393
|
-
borderRadius: 6,
|
|
394
|
-
alignItems: 'center',
|
|
395
|
-
alignSelf: 'flex-start'
|
|
396
|
-
},
|
|
397
|
-
logoutButtonText: {
|
|
398
|
-
fontSize: 14,
|
|
399
|
-
fontWeight: '500'
|
|
400
|
-
},
|
|
401
|
-
bulkActions: {
|
|
402
|
-
marginTop: 20,
|
|
403
|
-
paddingTop: 20,
|
|
404
|
-
borderTopWidth: 1,
|
|
405
|
-
borderTopColor: '#E0E0E0'
|
|
406
|
-
},
|
|
407
|
-
bulkActionButton: {
|
|
408
|
-
paddingVertical: 12,
|
|
409
|
-
paddingHorizontal: 20,
|
|
410
|
-
borderRadius: 8,
|
|
411
|
-
borderWidth: 1,
|
|
412
|
-
alignItems: 'center',
|
|
413
|
-
marginBottom: 12
|
|
414
|
-
},
|
|
415
|
-
dangerButton: {
|
|
416
|
-
borderColor: 'transparent'
|
|
417
|
-
},
|
|
418
|
-
bulkActionButtonText: {
|
|
419
|
-
fontSize: 16,
|
|
420
|
-
fontWeight: '500'
|
|
421
|
-
},
|
|
422
|
-
emptyState: {
|
|
423
|
-
alignItems: 'center',
|
|
424
|
-
paddingVertical: 40
|
|
425
|
-
},
|
|
426
|
-
emptyStateText: {
|
|
427
|
-
fontSize: 16,
|
|
428
|
-
fontStyle: 'italic'
|
|
429
|
-
},
|
|
430
|
-
loadingText: {
|
|
431
|
-
fontSize: 16,
|
|
432
|
-
marginTop: 16
|
|
433
|
-
},
|
|
434
|
-
footer: {
|
|
435
|
-
padding: 16,
|
|
436
|
-
borderTopWidth: 1,
|
|
437
|
-
alignItems: 'center'
|
|
438
|
-
},
|
|
439
|
-
closeButton: {
|
|
440
|
-
paddingVertical: 8,
|
|
441
|
-
paddingHorizontal: 16
|
|
442
|
-
},
|
|
443
|
-
closeButtonText: {
|
|
444
|
-
fontSize: 16,
|
|
445
|
-
fontWeight: '600'
|
|
446
|
-
}
|
|
447
|
-
});
|
|
448
|
-
var _default = exports.default = SessionManagementScreen;
|
|
449
|
-
//# sourceMappingURL=SessionManagementScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_OxyContext","_sonner","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SessionManagementScreen","onClose","theme","sessions","userSessions","activeSessionId","refreshSessions","logout","oxyServices","useOxy","loading","setLoading","useState","refreshing","setRefreshing","actionLoading","setActionLoading","isDarkTheme","textColor","backgroundColor","secondaryBackgroundColor","borderColor","primaryColor","dangerColor","successColor","loadSessions","isRefresh","error","console","Alert","alert","text","handleLogoutSession","sessionId","style","onPress","toast","success","handleLogoutOtherSessions","otherSessionsCount","filter","s","length","info","session","handleLogoutAllSessions","logoutAllSessions","formatDate","dateString","date","Date","now","diffInMinutes","Math","floor","getTime","toLocaleDateString","getDeviceIcon","deviceType","platform","toLowerCase","includes","useEffect","jsxs","View","styles","container","centerContent","children","jsx","ActivityIndicator","size","color","Text","loadingText","header","title","subtitle","ScrollView","scrollView","contentContainerStyle","scrollContainer","refreshControl","RefreshControl","onRefresh","tintColor","Fragment","map","sessionCard","borderLeftColor","sessionHeader","sessionTitleRow","deviceIcon","sessionTitleText","deviceName","substring","currentBadge","sessionDetails","sessionDetail","deviceId","lastActive","expiresAt","TouchableOpacity","logoutButton","disabled","logoutButtonText","bulkActions","bulkActionButton","bulkActionButtonText","dangerButton","emptyState","emptyStateText","footer","borderTopColor","closeButton","closeButtonText","StyleSheet","create","flex","justifyContent","alignItems","padding","paddingBottom","fontFamily","Platform","OS","fontWeight","undefined","fontSize","marginBottom","lineHeight","paddingTop","borderRadius","borderWidth","borderLeftWidth","flexDirection","marginRight","paddingVertical","paddingHorizontal","alignSelf","marginTop","borderTopWidth","fontStyle","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/screens/SessionManagementScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAYA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AAAyC,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAA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