@oxyhq/services 5.3.11 → 5.4.1
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 +21 -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/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/core/index.js +119 -23
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/index.js +2 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner.js +15 -11
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/node/index.js +2 -0
- package/lib/commonjs/node/index.js.map +1 -1
- 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/OxyProvider.js +95 -112
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- 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 +6 -6
- package/lib/commonjs/ui/components/index.js +97 -0
- package/lib/commonjs/ui/components/index.js.map +1 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js +20 -3
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +190 -207
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- 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 +669 -401
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +695 -498
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +451 -488
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +498 -185
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/BillingManagementScreen.js +636 -0
- package/lib/commonjs/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FileManagementScreen.js +2497 -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 +117 -13
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInScreen.js +1 -1
- package/lib/commonjs/ui/screens/SignUpScreen.js +1 -1
- package/lib/commonjs/utils/polyfills.js +42 -0
- package/lib/commonjs/utils/polyfills.js.map +1 -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/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/core/index.js +119 -23
- package/lib/module/core/index.js.map +1 -1
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner.js +13 -1
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/node/index.js +3 -0
- package/lib/module/node/index.js.map +1 -1
- 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/OxyProvider.js +97 -114
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- 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 +2 -5
- package/lib/module/ui/components/bottomSheet/index.js.map +1 -1
- package/lib/module/ui/components/index.js +18 -0
- package/lib/module/ui/components/index.js.map +1 -0
- package/lib/module/ui/navigation/OxyRouter.js +20 -3
- package/lib/module/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +191 -208
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- 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 +671 -403
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +698 -501
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +450 -488
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +498 -186
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/BillingManagementScreen.js +631 -0
- package/lib/module/ui/screens/BillingManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +2492 -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 +118 -14
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInScreen.js +1 -1
- package/lib/module/ui/screens/SignInScreen.js.map +1 -1
- package/lib/module/ui/screens/SignUpScreen.js +1 -1
- package/lib/module/ui/screens/SignUpScreen.js.map +1 -1
- 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/core/index.d.ts +26 -1
- package/lib/typescript/core/index.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/lib/sonner.d.ts +5 -1
- package/lib/typescript/lib/sonner.d.ts.map +1 -1
- package/lib/typescript/models/interfaces.d.ts +1 -2
- package/lib/typescript/models/interfaces.d.ts.map +1 -1
- package/lib/typescript/node/index.d.ts +1 -0
- package/lib/typescript/node/index.d.ts.map +1 -1
- 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/OxyProvider.d.ts.map +1 -1
- 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 +3 -2
- package/lib/typescript/ui/components/bottomSheet/index.d.ts.map +1 -1
- 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/navigation/OxyRouter.d.ts.map +1 -1
- package/lib/typescript/ui/navigation/types.d.ts +8 -0
- package/lib/typescript/ui/navigation/types.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +1 -4
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -1
- 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/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.map +1 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/utils/polyfills.d.ts +6 -0
- package/lib/typescript/utils/polyfills.d.ts.map +1 -0
- package/package.json +11 -3
- package/src/__tests__/polyfills.test.ts +30 -0
- package/src/__tests__/setup.ts +43 -0
- package/src/__tests__/ui/screens/AccountSettingsScreen.test.tsx +8 -8
- package/src/assets/icons/OxyServices.tsx +67 -0
- package/src/assets/icons/logo_OxyServices.svg +1 -0
- package/src/core/index.ts +127 -19
- package/src/index.ts +3 -0
- package/src/lib/sonner.ts +10 -1
- package/src/models/interfaces.ts +1 -2
- package/src/node/index.ts +3 -0
- package/src/ui/components/GroupedItem.tsx +118 -0
- package/src/ui/components/GroupedSection.tsx +45 -0
- package/src/ui/components/OxyProvider.tsx +95 -120
- package/src/ui/components/ProfileCard.tsx +129 -0
- package/src/ui/components/QuickActions.tsx +90 -0
- package/src/ui/components/Section.tsx +37 -0
- package/src/ui/components/SectionTitle.tsx +31 -0
- package/src/ui/components/bottomSheet/index.tsx +13 -11
- package/src/ui/components/index.ts +15 -0
- package/src/ui/navigation/OxyRouter.tsx +20 -3
- package/src/ui/navigation/types.ts +10 -1
- package/src/ui/screens/AccountCenterScreen.tsx +188 -159
- package/src/ui/screens/AccountManagementDemo.tsx +297 -0
- package/src/ui/screens/AccountOverviewScreen.tsx +474 -310
- package/src/ui/screens/AccountSettingsScreen.tsx +648 -463
- package/src/ui/screens/AccountSwitcherScreen.tsx +385 -449
- package/src/ui/screens/AppInfoScreen.tsx +571 -140
- package/src/ui/screens/BillingManagementScreen.tsx +589 -0
- package/src/ui/screens/FileManagementScreen.tsx +2513 -0
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +1628 -0
- package/src/ui/screens/ProfileScreen.tsx +101 -7
- package/src/ui/screens/SessionManagementScreen.tsx +1 -0
- package/src/ui/screens/SignInScreen.tsx +1 -1
- package/src/ui/screens/SignUpScreen.tsx +1 -1
- package/src/utils/polyfills.ts +34 -0
- package/lib/commonjs/lib/sonner.web.js +0 -17
- package/lib/commonjs/lib/sonner.web.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/typescript/__tests__/ui/screens/AccountSettingsScreen.test.d.ts +0 -2
- package/lib/typescript/__tests__/ui/screens/AccountSettingsScreen.test.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/src/lib/sonner.web.ts +0 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { View, Text,
|
|
4
|
+
import { View, Text, StyleSheet, ActivityIndicator, ScrollView, Alert, Platform } from 'react-native';
|
|
5
5
|
import { useOxy } from '../context/OxyContext';
|
|
6
6
|
import { packageInfo } from '../../constants/version';
|
|
7
7
|
import { toast } from '../../lib/sonner';
|
|
8
|
+
import { fontFamilies } from '../styles/fonts';
|
|
9
|
+
import { ProfileCard, Section, QuickActions, GroupedSection, GroupedItem } from '../components';
|
|
8
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
11
|
const AccountCenterScreen = ({
|
|
10
12
|
onClose,
|
|
@@ -19,8 +21,8 @@ const AccountCenterScreen = ({
|
|
|
19
21
|
} = useOxy();
|
|
20
22
|
const isDarkTheme = theme === 'dark';
|
|
21
23
|
const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
|
|
22
|
-
const backgroundColor = isDarkTheme ? '#121212' : '#
|
|
23
|
-
const secondaryBackgroundColor = isDarkTheme ? '#222222' : '#
|
|
24
|
+
const backgroundColor = isDarkTheme ? '#121212' : '#f2f2f2';
|
|
25
|
+
const secondaryBackgroundColor = isDarkTheme ? '#222222' : '#FFFFFF';
|
|
24
26
|
const borderColor = isDarkTheme ? '#444444' : '#E0E0E0';
|
|
25
27
|
const primaryColor = '#0066CC';
|
|
26
28
|
const dangerColor = '#D32F2F';
|
|
@@ -76,140 +78,193 @@ const AccountCenterScreen = ({
|
|
|
76
78
|
style: [styles.container, {
|
|
77
79
|
backgroundColor
|
|
78
80
|
}],
|
|
79
|
-
children: [/*#__PURE__*/
|
|
81
|
+
children: [/*#__PURE__*/_jsx(ProfileCard, {
|
|
82
|
+
user: user,
|
|
83
|
+
theme: theme,
|
|
84
|
+
onEditPress: () => navigate('AccountSettings', {
|
|
85
|
+
activeTab: 'profile'
|
|
86
|
+
}),
|
|
87
|
+
onClosePress: onClose,
|
|
88
|
+
showCloseButton: !!onClose
|
|
89
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
80
90
|
style: styles.scrollView,
|
|
81
91
|
contentContainerStyle: styles.scrollContainer,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
92
|
+
showsVerticalScrollIndicator: false,
|
|
93
|
+
children: [/*#__PURE__*/_jsx(Section, {
|
|
94
|
+
title: "Quick Actions",
|
|
95
|
+
theme: theme,
|
|
96
|
+
isFirst: true,
|
|
97
|
+
children: /*#__PURE__*/_jsx(QuickActions, {
|
|
98
|
+
actions: [{
|
|
99
|
+
id: 'overview',
|
|
100
|
+
icon: 'person-circle',
|
|
101
|
+
iconColor: '#007AFF',
|
|
102
|
+
title: 'Overview',
|
|
103
|
+
onPress: () => navigate('AccountOverview')
|
|
104
|
+
}, {
|
|
105
|
+
id: 'settings',
|
|
106
|
+
icon: 'settings',
|
|
107
|
+
iconColor: '#5856D6',
|
|
108
|
+
title: 'Settings',
|
|
109
|
+
onPress: () => navigate('AccountSettings')
|
|
110
|
+
}, {
|
|
111
|
+
id: 'sessions',
|
|
112
|
+
icon: 'shield-checkmark',
|
|
113
|
+
iconColor: '#30D158',
|
|
114
|
+
title: 'Sessions',
|
|
115
|
+
onPress: () => navigate('SessionManagement')
|
|
116
|
+
}, {
|
|
117
|
+
id: 'premium',
|
|
118
|
+
icon: 'star',
|
|
119
|
+
iconColor: '#FFD700',
|
|
120
|
+
title: 'Premium',
|
|
121
|
+
onPress: () => navigate('PremiumSubscription')
|
|
122
|
+
}, ...(user?.isPremium ? [{
|
|
123
|
+
id: 'billing',
|
|
124
|
+
icon: 'card',
|
|
125
|
+
iconColor: '#34C759',
|
|
126
|
+
title: 'Billing',
|
|
127
|
+
onPress: () => navigate('BillingManagement')
|
|
128
|
+
}] : []), ...(sessions && sessions.length > 1 ? [{
|
|
129
|
+
id: 'switch',
|
|
130
|
+
icon: 'swap-horizontal',
|
|
131
|
+
iconColor: '#FF9500',
|
|
132
|
+
title: 'Switch',
|
|
133
|
+
onPress: () => navigate('AccountSwitcher')
|
|
134
|
+
}] : [])],
|
|
135
|
+
theme: theme
|
|
89
136
|
})
|
|
90
|
-
}), /*#__PURE__*/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}),
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}],
|
|
158
|
-
onPress: () => navigate('SessionManagement'),
|
|
159
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
160
|
-
style: [styles.actionButtonText, {
|
|
161
|
-
color: textColor
|
|
162
|
-
}],
|
|
163
|
-
children: "Manage Sessions"
|
|
164
|
-
})
|
|
165
|
-
}), Platform.OS !== 'web' && /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
166
|
-
style: [styles.actionButton, {
|
|
167
|
-
borderColor
|
|
168
|
-
}],
|
|
169
|
-
onPress: () => toast.info('Notifications feature coming soon!'),
|
|
170
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
171
|
-
style: [styles.actionButtonText, {
|
|
172
|
-
color: textColor
|
|
173
|
-
}],
|
|
174
|
-
children: "Notifications"
|
|
175
|
-
})
|
|
176
|
-
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
177
|
-
style: [styles.actionButton, {
|
|
178
|
-
borderColor
|
|
137
|
+
}), /*#__PURE__*/_jsx(Section, {
|
|
138
|
+
title: "Account Management",
|
|
139
|
+
theme: theme,
|
|
140
|
+
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
141
|
+
items: [{
|
|
142
|
+
id: 'overview',
|
|
143
|
+
icon: 'person-circle',
|
|
144
|
+
iconColor: '#007AFF',
|
|
145
|
+
title: 'Account Overview',
|
|
146
|
+
subtitle: 'Complete account information',
|
|
147
|
+
onPress: () => navigate('AccountOverview')
|
|
148
|
+
}, {
|
|
149
|
+
id: 'settings',
|
|
150
|
+
icon: 'settings',
|
|
151
|
+
iconColor: '#5856D6',
|
|
152
|
+
title: 'Account Settings',
|
|
153
|
+
subtitle: 'Manage your preferences',
|
|
154
|
+
onPress: () => navigate('AccountSettings')
|
|
155
|
+
}, {
|
|
156
|
+
id: 'sessions',
|
|
157
|
+
icon: 'shield-checkmark',
|
|
158
|
+
iconColor: '#30D158',
|
|
159
|
+
title: 'Manage Sessions',
|
|
160
|
+
subtitle: 'Security and active devices',
|
|
161
|
+
onPress: () => navigate('SessionManagement')
|
|
162
|
+
}, {
|
|
163
|
+
id: 'files',
|
|
164
|
+
icon: 'folder',
|
|
165
|
+
iconColor: '#FF9500',
|
|
166
|
+
title: 'File Management',
|
|
167
|
+
subtitle: 'Upload, download, and manage your files',
|
|
168
|
+
onPress: () => navigate('FileManagement')
|
|
169
|
+
}, {
|
|
170
|
+
id: 'premium',
|
|
171
|
+
icon: 'star',
|
|
172
|
+
iconColor: '#FFD700',
|
|
173
|
+
title: 'Oxy+ Subscriptions',
|
|
174
|
+
subtitle: user?.isPremium ? 'Manage your premium plan' : 'Upgrade to premium features',
|
|
175
|
+
onPress: () => navigate('PremiumSubscription')
|
|
176
|
+
}, ...(user?.isPremium ? [{
|
|
177
|
+
id: 'billing',
|
|
178
|
+
icon: 'card',
|
|
179
|
+
iconColor: '#34C759',
|
|
180
|
+
title: 'Billing Management',
|
|
181
|
+
subtitle: 'Payment methods and invoices',
|
|
182
|
+
onPress: () => navigate('BillingManagement')
|
|
183
|
+
}] : [])],
|
|
184
|
+
theme: theme
|
|
185
|
+
})
|
|
186
|
+
}), sessions && sessions.length > 1 && /*#__PURE__*/_jsx(Section, {
|
|
187
|
+
title: "Multi-Account",
|
|
188
|
+
theme: theme,
|
|
189
|
+
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
190
|
+
items: [{
|
|
191
|
+
id: 'switch',
|
|
192
|
+
icon: 'people',
|
|
193
|
+
iconColor: '#FF9500',
|
|
194
|
+
title: 'Switch Account',
|
|
195
|
+
subtitle: `${sessions.length} accounts available`,
|
|
196
|
+
onPress: () => navigate('AccountSwitcher')
|
|
197
|
+
}, {
|
|
198
|
+
id: 'add',
|
|
199
|
+
icon: 'person-add',
|
|
200
|
+
iconColor: '#30D158',
|
|
201
|
+
title: 'Add Another Account',
|
|
202
|
+
subtitle: 'Sign in with a different account',
|
|
203
|
+
onPress: () => navigate('SignIn')
|
|
179
204
|
}],
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
205
|
+
theme: theme
|
|
206
|
+
})
|
|
207
|
+
}), (!sessions || sessions.length <= 1) && /*#__PURE__*/_jsx(Section, {
|
|
208
|
+
title: "Add Account",
|
|
209
|
+
theme: theme,
|
|
210
|
+
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
211
|
+
items: [{
|
|
212
|
+
id: 'add',
|
|
213
|
+
icon: 'person-add',
|
|
214
|
+
iconColor: '#30D158',
|
|
215
|
+
title: 'Add Another Account',
|
|
216
|
+
subtitle: 'Sign in with a different account',
|
|
217
|
+
onPress: () => navigate('SignIn')
|
|
190
218
|
}],
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
219
|
+
theme: theme
|
|
220
|
+
})
|
|
221
|
+
}), /*#__PURE__*/_jsx(Section, {
|
|
222
|
+
title: "More Options",
|
|
223
|
+
theme: theme,
|
|
224
|
+
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
225
|
+
items: [...(Platform.OS !== 'web' ? [{
|
|
226
|
+
id: 'notifications',
|
|
227
|
+
icon: 'notifications',
|
|
228
|
+
iconColor: '#FF9500',
|
|
229
|
+
title: 'Notifications',
|
|
230
|
+
subtitle: 'Manage notification settings',
|
|
231
|
+
onPress: () => toast.info('Notifications feature coming soon!')
|
|
232
|
+
}] : []), {
|
|
233
|
+
id: 'help',
|
|
234
|
+
icon: 'help-circle',
|
|
235
|
+
iconColor: '#007AFF',
|
|
236
|
+
title: 'Help & Support',
|
|
237
|
+
subtitle: 'Get help and contact support',
|
|
238
|
+
onPress: () => toast.info('Help & Support feature coming soon!')
|
|
239
|
+
}, {
|
|
240
|
+
id: 'appinfo',
|
|
241
|
+
icon: 'information-circle',
|
|
242
|
+
iconColor: '#8E8E93',
|
|
243
|
+
title: 'App Information',
|
|
244
|
+
subtitle: 'Version and system details',
|
|
245
|
+
onPress: () => navigate('AppInfo')
|
|
211
246
|
}],
|
|
212
|
-
|
|
247
|
+
theme: theme
|
|
248
|
+
})
|
|
249
|
+
}), /*#__PURE__*/_jsx(Section, {
|
|
250
|
+
theme: theme,
|
|
251
|
+
children: /*#__PURE__*/_jsx(GroupedItem, {
|
|
252
|
+
icon: "log-out",
|
|
253
|
+
iconColor: dangerColor,
|
|
254
|
+
title: isLoading ? "Signing out..." : "Sign Out",
|
|
255
|
+
theme: theme,
|
|
256
|
+
onPress: confirmLogout,
|
|
257
|
+
isFirst: true,
|
|
258
|
+
isLast: true,
|
|
259
|
+
showChevron: false,
|
|
260
|
+
disabled: isLoading,
|
|
261
|
+
customContent: isLoading ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
262
|
+
color: dangerColor,
|
|
263
|
+
size: "small",
|
|
264
|
+
style: {
|
|
265
|
+
marginRight: 16
|
|
266
|
+
}
|
|
267
|
+
}) : null
|
|
213
268
|
})
|
|
214
269
|
}), /*#__PURE__*/_jsx(View, {
|
|
215
270
|
style: styles.versionContainer,
|
|
@@ -220,18 +275,6 @@ const AccountCenterScreen = ({
|
|
|
220
275
|
children: ["Version ", packageInfo.version]
|
|
221
276
|
})
|
|
222
277
|
})]
|
|
223
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
224
|
-
style: styles.footer,
|
|
225
|
-
children: /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
226
|
-
style: styles.closeButton,
|
|
227
|
-
onPress: onClose,
|
|
228
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
229
|
-
style: [styles.closeButtonText, {
|
|
230
|
-
color: primaryColor
|
|
231
|
-
}],
|
|
232
|
-
children: "Close"
|
|
233
|
-
})
|
|
234
|
-
})
|
|
235
278
|
})]
|
|
236
279
|
});
|
|
237
280
|
};
|
|
@@ -243,77 +286,17 @@ const styles = StyleSheet.create({
|
|
|
243
286
|
flex: 1
|
|
244
287
|
},
|
|
245
288
|
scrollContainer: {
|
|
246
|
-
padding:
|
|
247
|
-
|
|
248
|
-
header: {
|
|
249
|
-
marginBottom: 24,
|
|
250
|
-
alignItems: 'center'
|
|
251
|
-
},
|
|
252
|
-
title: {
|
|
253
|
-
fontFamily: Platform.OS === 'web' ? 'Phudu' // Use CSS font name directly for web
|
|
254
|
-
: 'Phudu-Bold',
|
|
255
|
-
// Use exact font name as registered with Font.loadAsync
|
|
256
|
-
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
257
|
-
// Only apply fontWeight on web
|
|
258
|
-
fontSize: 24
|
|
259
|
-
},
|
|
260
|
-
userInfoContainer: {
|
|
261
|
-
padding: 20,
|
|
262
|
-
borderRadius: 35,
|
|
263
|
-
borderWidth: 1,
|
|
264
|
-
marginBottom: 24,
|
|
265
|
-
alignItems: 'center'
|
|
266
|
-
},
|
|
267
|
-
userName: {
|
|
268
|
-
fontSize: 20,
|
|
269
|
-
fontWeight: 'bold',
|
|
270
|
-
marginBottom: 8
|
|
271
|
-
},
|
|
272
|
-
userEmail: {
|
|
273
|
-
fontSize: 16
|
|
274
|
-
},
|
|
275
|
-
actionsContainer: {
|
|
276
|
-
marginBottom: 24
|
|
277
|
-
},
|
|
278
|
-
actionButton: {
|
|
279
|
-
paddingVertical: 16,
|
|
280
|
-
paddingHorizontal: 20,
|
|
281
|
-
borderBottomWidth: 1
|
|
282
|
-
},
|
|
283
|
-
actionButtonText: {
|
|
284
|
-
fontSize: 16
|
|
285
|
-
},
|
|
286
|
-
logoutButton: {
|
|
287
|
-
height: 50,
|
|
288
|
-
borderRadius: 35,
|
|
289
|
-
alignItems: 'center',
|
|
290
|
-
justifyContent: 'center',
|
|
291
|
-
marginBottom: 24
|
|
292
|
-
},
|
|
293
|
-
logoutButtonText: {
|
|
294
|
-
fontSize: 16,
|
|
295
|
-
fontWeight: '600'
|
|
289
|
+
padding: 16,
|
|
290
|
+
paddingBottom: 20
|
|
296
291
|
},
|
|
297
292
|
versionContainer: {
|
|
298
293
|
alignItems: 'center',
|
|
294
|
+
marginTop: 20,
|
|
299
295
|
marginBottom: 20
|
|
300
296
|
},
|
|
301
297
|
versionText: {
|
|
302
|
-
fontSize:
|
|
303
|
-
|
|
304
|
-
footer: {
|
|
305
|
-
padding: 16,
|
|
306
|
-
borderTopWidth: 1,
|
|
307
|
-
borderTopColor: '#E0E0E0',
|
|
308
|
-
alignItems: 'center'
|
|
309
|
-
},
|
|
310
|
-
closeButton: {
|
|
311
|
-
paddingVertical: 8,
|
|
312
|
-
paddingHorizontal: 16
|
|
313
|
-
},
|
|
314
|
-
closeButtonText: {
|
|
315
|
-
fontSize: 16,
|
|
316
|
-
fontWeight: '600'
|
|
298
|
+
fontSize: 12,
|
|
299
|
+
fontFamily: fontFamilies.phudu
|
|
317
300
|
},
|
|
318
301
|
message: {
|
|
319
302
|
fontSize: 16,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","ActivityIndicator","ScrollView","Alert","Platform","useOxy","packageInfo","toast","fontFamilies","ProfileCard","Section","QuickActions","GroupedSection","GroupedItem","jsx","_jsx","jsxs","_jsxs","AccountCenterScreen","onClose","theme","navigate","user","logout","isLoading","sessions","isDarkTheme","textColor","backgroundColor","secondaryBackgroundColor","borderColor","primaryColor","dangerColor","handleLogout","error","console","confirmLogout","alert","text","style","onPress","cancelable","styles","container","children","message","color","justifyContent","size","onEditPress","activeTab","onClosePress","showCloseButton","scrollView","contentContainerStyle","scrollContainer","showsVerticalScrollIndicator","title","isFirst","actions","id","icon","iconColor","isPremium","length","items","subtitle","OS","info","isLast","showChevron","disabled","customContent","marginRight","versionContainer","versionText","version","create","flex","padding","paddingBottom","alignItems","marginTop","marginBottom","fontSize","fontFamily","phudu","textAlign"],"sourceRoot":"../../../../src","sources":["ui/screens/AccountCenterScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACIC,IAAI,EACJC,IAAI,EAEJC,UAAU,EACVC,iBAAiB,EACjBC,UAAU,EACVC,KAAK,EACLC,QAAQ,QACL,cAAc;AAErB,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,WAAW,QAAQ,yBAAyB;AACrD,SAASC,KAAK,QAAQ,kBAAkB;AAExC,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SACIC,WAAW,EACXC,OAAO,EACPC,YAAY,EACZC,cAAc,EACdC,WAAW,QACR,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEvB,MAAMC,mBAA8C,GAAGA,CAAC;EACpDC,OAAO;EACPC,KAAK;EACLC;AACJ,CAAC,KAAK;EACF,MAAM;IAAEC,IAAI;IAAEC,MAAM;IAAEC,SAAS;IAAEC;EAAS,CAAC,GAAGpB,MAAM,CAAC,CAAC;EAEtD,MAAMqB,WAAW,GAAGN,KAAK,KAAK,MAAM;EACpC,MAAMO,SAAS,GAAGD,WAAW,GAAG,SAAS,GAAG,SAAS;EACrD,MAAME,eAAe,GAAGF,WAAW,GAAG,SAAS,GAAG,SAAS;EAC3D,MAAMG,wBAAwB,GAAGH,WAAW,GAAG,SAAS,GAAG,SAAS;EACpE,MAAMI,WAAW,GAAGJ,WAAW,GAAG,SAAS,GAAG,SAAS;EACvD,MAAMK,YAAY,GAAG,SAAS;EAC9B,MAAMC,WAAW,GAAG,SAAS;EAE7B,MAAMC,YAAY,GAAG,MAAAA,CAAA,KAAY;IAC7B,IAAI;MACA,MAAMV,M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