@oxyhq/services 5.1.11 → 5.1.13
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/lib/commonjs/ui/components/OxyProvider.js +50 -30
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +4 -4
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +15 -7
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/navigation/OxyRouter.js +47 -7
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +346 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SignInScreen.js +82 -86
- package/lib/commonjs/ui/screens/SignInScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignUpScreen.js +190 -108
- package/lib/commonjs/ui/screens/SignUpScreen.js.map +1 -1
- 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 +202 -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/styles/theme.js +1 -2
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +51 -31
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +4 -4
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +15 -7
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/navigation/OxyRouter.js +47 -7
- package/lib/module/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +340 -0
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
- package/lib/module/ui/screens/SignInScreen.js +83 -87
- package/lib/module/ui/screens/SignInScreen.js.map +1 -1
- package/lib/module/ui/screens/SignUpScreen.js +189 -109
- package/lib/module/ui/screens/SignUpScreen.js.map +1 -1
- 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 +197 -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/styles/theme.js +1 -2
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/ui/components/OxySignInButton.d.ts +5 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/ui/context/OxyContext.d.ts +4 -1
- package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -1
- 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/SignInScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +1 -1
- 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/styles/theme.d.ts +0 -1
- package/lib/typescript/ui/styles/theme.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/ui/components/OxyProvider.tsx +42 -29
- package/src/ui/components/OxySignInButton.tsx +9 -3
- package/src/ui/context/OxyContext.tsx +16 -8
- package/src/ui/navigation/OxyRouter.tsx +44 -7
- package/src/ui/screens/ProfileScreen.tsx +155 -0
- package/src/ui/screens/SignInScreen.tsx +68 -73
- package/src/ui/screens/SignUpScreen.tsx +136 -87
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +45 -0
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +271 -0
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +164 -0
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +79 -0
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +55 -0
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +65 -0
- package/src/ui/styles/theme.ts +1 -2
- package/lib/commonjs/ui/screens/AboutKarmaScreen.js +0 -50
- package/lib/commonjs/ui/screens/AboutKarmaScreen.js.map +0 -1
- package/lib/module/ui/screens/AboutKarmaScreen.js +0 -45
- package/lib/module/ui/screens/AboutKarmaScreen.js.map +0 -1
- package/lib/typescript/ui/screens/AboutKarmaScreen.d.ts +0 -5
- package/lib/typescript/ui/screens/AboutKarmaScreen.d.ts.map +0 -1
- package/src/ui/screens/AboutKarmaScreen.tsx +0 -58
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
|
+
import { View, Text, TouchableOpacity, StyleSheet, ActivityIndicator, ScrollView } from 'react-native';
|
|
5
|
+
import { useOxy } from '../../context/OxyContext';
|
|
6
|
+
import { fontFamilies } from '../../styles/fonts';
|
|
7
|
+
import Avatar from '../../components/Avatar';
|
|
8
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const KarmaCenterScreen = ({
|
|
11
|
+
onClose,
|
|
12
|
+
theme,
|
|
13
|
+
navigate,
|
|
14
|
+
goBack
|
|
15
|
+
}) => {
|
|
16
|
+
const {
|
|
17
|
+
user,
|
|
18
|
+
oxyServices
|
|
19
|
+
} = useOxy();
|
|
20
|
+
const [karmaTotal, setKarmaTotal] = useState(null);
|
|
21
|
+
const [karmaHistory, setKarmaHistory] = useState([]);
|
|
22
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
23
|
+
const [error, setError] = useState(null);
|
|
24
|
+
const isDarkTheme = theme === 'dark';
|
|
25
|
+
const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
|
|
26
|
+
const backgroundColor = isDarkTheme ? '#121212' : '#FFFFFF';
|
|
27
|
+
const secondaryBackgroundColor = isDarkTheme ? '#222222' : '#F5F5F5';
|
|
28
|
+
const borderColor = isDarkTheme ? '#444444' : '#E0E0E0';
|
|
29
|
+
const primaryColor = '#d169e5';
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (!user) return;
|
|
32
|
+
setIsLoading(true);
|
|
33
|
+
setError(null);
|
|
34
|
+
Promise.all([oxyServices.getUserKarmaTotal(user.id), oxyServices.getUserKarmaHistory(user.id, 20, 0)]).then(([totalRes, historyRes]) => {
|
|
35
|
+
setKarmaTotal(totalRes.total);
|
|
36
|
+
setKarmaHistory(Array.isArray(historyRes.history) ? historyRes.history : []);
|
|
37
|
+
}).catch(err => {
|
|
38
|
+
setError(err.message || 'Failed to load karma data');
|
|
39
|
+
}).finally(() => setIsLoading(false));
|
|
40
|
+
}, [user]);
|
|
41
|
+
if (!user) {
|
|
42
|
+
return /*#__PURE__*/_jsx(View, {
|
|
43
|
+
style: [styles.container, {
|
|
44
|
+
backgroundColor
|
|
45
|
+
}],
|
|
46
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
47
|
+
style: [styles.message, {
|
|
48
|
+
color: textColor
|
|
49
|
+
}],
|
|
50
|
+
children: "Not signed in"
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
if (isLoading) {
|
|
55
|
+
return /*#__PURE__*/_jsx(View, {
|
|
56
|
+
style: [styles.container, {
|
|
57
|
+
backgroundColor,
|
|
58
|
+
justifyContent: 'center'
|
|
59
|
+
}],
|
|
60
|
+
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
61
|
+
size: "large",
|
|
62
|
+
color: primaryColor
|
|
63
|
+
})
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
67
|
+
style: [styles.container, {
|
|
68
|
+
backgroundColor
|
|
69
|
+
}],
|
|
70
|
+
children: [/*#__PURE__*/_jsxs(ScrollView, {
|
|
71
|
+
style: styles.scrollView,
|
|
72
|
+
contentContainerStyle: styles.scrollContainer,
|
|
73
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
74
|
+
style: styles.walletHeader,
|
|
75
|
+
children: [/*#__PURE__*/_jsx(Avatar, {
|
|
76
|
+
imageUrl: user.avatarUrl,
|
|
77
|
+
name: user.username,
|
|
78
|
+
size: 60,
|
|
79
|
+
theme: theme,
|
|
80
|
+
style: styles.avatar
|
|
81
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
82
|
+
style: [styles.karmaLabel, {
|
|
83
|
+
color: isDarkTheme ? '#BBBBBB' : '#888888'
|
|
84
|
+
}],
|
|
85
|
+
children: "Karma Balance"
|
|
86
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
87
|
+
style: [styles.karmaAmount, {
|
|
88
|
+
color: primaryColor
|
|
89
|
+
}],
|
|
90
|
+
children: karmaTotal ?? 0
|
|
91
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
92
|
+
style: styles.actionRow,
|
|
93
|
+
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
94
|
+
style: styles.actionIconWrapper,
|
|
95
|
+
onPress: () => navigate && navigate('KarmaLeaderboard'),
|
|
96
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
97
|
+
style: [styles.actionIcon, {
|
|
98
|
+
backgroundColor: '#E0E0E0'
|
|
99
|
+
}],
|
|
100
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
101
|
+
name: "trophy-outline",
|
|
102
|
+
size: 28,
|
|
103
|
+
color: "#888"
|
|
104
|
+
})
|
|
105
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
106
|
+
style: styles.actionLabel,
|
|
107
|
+
children: "Leaderboard"
|
|
108
|
+
})]
|
|
109
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
110
|
+
style: styles.actionIconWrapper,
|
|
111
|
+
onPress: () => navigate && navigate('KarmaRules'),
|
|
112
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
113
|
+
style: [styles.actionIcon, {
|
|
114
|
+
backgroundColor: '#E0E0E0'
|
|
115
|
+
}],
|
|
116
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
117
|
+
name: "document-text-outline",
|
|
118
|
+
size: 28,
|
|
119
|
+
color: "#888"
|
|
120
|
+
})
|
|
121
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
122
|
+
style: styles.actionLabel,
|
|
123
|
+
children: "Rules"
|
|
124
|
+
})]
|
|
125
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
126
|
+
style: styles.actionIconWrapper,
|
|
127
|
+
onPress: () => navigate && navigate('AboutKarma'),
|
|
128
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
129
|
+
style: [styles.actionIcon, {
|
|
130
|
+
backgroundColor: '#E0E0E0'
|
|
131
|
+
}],
|
|
132
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
133
|
+
name: "star-outline",
|
|
134
|
+
size: 28,
|
|
135
|
+
color: "#888"
|
|
136
|
+
})
|
|
137
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
138
|
+
style: styles.actionLabel,
|
|
139
|
+
children: "About"
|
|
140
|
+
})]
|
|
141
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
142
|
+
style: styles.actionIconWrapper,
|
|
143
|
+
onPress: () => navigate && navigate('KarmaRewards'),
|
|
144
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
145
|
+
style: [styles.actionIcon, {
|
|
146
|
+
backgroundColor: '#E0E0E0'
|
|
147
|
+
}],
|
|
148
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
149
|
+
name: "gift-outline",
|
|
150
|
+
size: 28,
|
|
151
|
+
color: "#888"
|
|
152
|
+
})
|
|
153
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
154
|
+
style: styles.actionLabel,
|
|
155
|
+
children: "Rewards"
|
|
156
|
+
})]
|
|
157
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
158
|
+
style: styles.actionIconWrapper,
|
|
159
|
+
onPress: () => navigate && navigate('KarmaFAQ'),
|
|
160
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
161
|
+
style: [styles.actionIcon, {
|
|
162
|
+
backgroundColor: '#E0E0E0'
|
|
163
|
+
}],
|
|
164
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
165
|
+
name: "help-circle-outline",
|
|
166
|
+
size: 28,
|
|
167
|
+
color: "#888"
|
|
168
|
+
})
|
|
169
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
170
|
+
style: styles.actionLabel,
|
|
171
|
+
children: "FAQ"
|
|
172
|
+
})]
|
|
173
|
+
})]
|
|
174
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
175
|
+
style: styles.infoText,
|
|
176
|
+
children: "Karma can only be earned by positive actions in the Oxy Ecosystem. It cannot be sent or received directly."
|
|
177
|
+
})]
|
|
178
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
179
|
+
style: [styles.sectionTitle, {
|
|
180
|
+
color: textColor
|
|
181
|
+
}],
|
|
182
|
+
children: "Karma History"
|
|
183
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
184
|
+
style: styles.historyContainer,
|
|
185
|
+
children: karmaHistory.length === 0 ? /*#__PURE__*/_jsx(Text, {
|
|
186
|
+
style: {
|
|
187
|
+
color: textColor,
|
|
188
|
+
textAlign: 'center',
|
|
189
|
+
marginTop: 16
|
|
190
|
+
},
|
|
191
|
+
children: "No karma history yet."
|
|
192
|
+
}) : karmaHistory.map(entry => /*#__PURE__*/_jsxs(View, {
|
|
193
|
+
style: [styles.historyItem, {
|
|
194
|
+
borderColor
|
|
195
|
+
}],
|
|
196
|
+
children: [/*#__PURE__*/_jsxs(Text, {
|
|
197
|
+
style: [styles.historyPoints, {
|
|
198
|
+
color: entry.points > 0 ? primaryColor : '#D32F2F'
|
|
199
|
+
}],
|
|
200
|
+
children: [entry.points > 0 ? '+' : '', entry.points]
|
|
201
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
202
|
+
style: [styles.historyDesc, {
|
|
203
|
+
color: textColor
|
|
204
|
+
}],
|
|
205
|
+
children: entry.reason || 'No description'
|
|
206
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
207
|
+
style: [styles.historyDate, {
|
|
208
|
+
color: isDarkTheme ? '#BBBBBB' : '#888888'
|
|
209
|
+
}],
|
|
210
|
+
children: entry.createdAt ? new Date(entry.createdAt).toLocaleString() : ''
|
|
211
|
+
})]
|
|
212
|
+
}, entry.id))
|
|
213
|
+
}), error && /*#__PURE__*/_jsx(Text, {
|
|
214
|
+
style: {
|
|
215
|
+
color: '#D32F2F',
|
|
216
|
+
marginTop: 16,
|
|
217
|
+
textAlign: 'center'
|
|
218
|
+
},
|
|
219
|
+
children: error
|
|
220
|
+
})]
|
|
221
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
222
|
+
style: styles.footer,
|
|
223
|
+
children: /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
224
|
+
style: styles.closeButton,
|
|
225
|
+
onPress: onClose,
|
|
226
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
227
|
+
style: [styles.closeButtonText, {
|
|
228
|
+
color: primaryColor
|
|
229
|
+
}],
|
|
230
|
+
children: "Close"
|
|
231
|
+
})
|
|
232
|
+
})
|
|
233
|
+
})]
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
const styles = StyleSheet.create({
|
|
237
|
+
container: {
|
|
238
|
+
flex: 1
|
|
239
|
+
},
|
|
240
|
+
scrollView: {
|
|
241
|
+
flex: 1
|
|
242
|
+
},
|
|
243
|
+
scrollContainer: {
|
|
244
|
+
padding: 0,
|
|
245
|
+
alignItems: 'center'
|
|
246
|
+
},
|
|
247
|
+
walletHeader: {
|
|
248
|
+
alignItems: 'center',
|
|
249
|
+
paddingTop: 36,
|
|
250
|
+
paddingBottom: 24,
|
|
251
|
+
width: '100%',
|
|
252
|
+
backgroundColor: 'transparent'
|
|
253
|
+
},
|
|
254
|
+
avatar: {
|
|
255
|
+
marginBottom: 12
|
|
256
|
+
},
|
|
257
|
+
karmaLabel: {
|
|
258
|
+
fontSize: 16,
|
|
259
|
+
marginBottom: 4,
|
|
260
|
+
fontFamily: fontFamilies.phudu
|
|
261
|
+
},
|
|
262
|
+
karmaAmount: {
|
|
263
|
+
fontSize: 48,
|
|
264
|
+
fontWeight: 'bold',
|
|
265
|
+
marginBottom: 18,
|
|
266
|
+
fontFamily: fontFamilies.phuduBold
|
|
267
|
+
},
|
|
268
|
+
actionRow: {
|
|
269
|
+
flexDirection: 'row',
|
|
270
|
+
justifyContent: 'center',
|
|
271
|
+
marginBottom: 18,
|
|
272
|
+
flexWrap: 'wrap',
|
|
273
|
+
rowGap: 0,
|
|
274
|
+
columnGap: 0
|
|
275
|
+
},
|
|
276
|
+
actionIconWrapper: {
|
|
277
|
+
alignItems: 'center',
|
|
278
|
+
marginHorizontal: 8,
|
|
279
|
+
marginVertical: 4,
|
|
280
|
+
width: 72
|
|
281
|
+
},
|
|
282
|
+
actionIcon: {
|
|
283
|
+
width: 56,
|
|
284
|
+
height: 56,
|
|
285
|
+
borderRadius: 28,
|
|
286
|
+
alignItems: 'center',
|
|
287
|
+
justifyContent: 'center',
|
|
288
|
+
marginBottom: 6,
|
|
289
|
+
opacity: 0.5
|
|
290
|
+
},
|
|
291
|
+
actionIconText: {
|
|
292
|
+
fontSize: 28
|
|
293
|
+
},
|
|
294
|
+
actionLabel: {
|
|
295
|
+
fontSize: 13,
|
|
296
|
+
color: '#888'
|
|
297
|
+
},
|
|
298
|
+
infoText: {
|
|
299
|
+
fontSize: 13,
|
|
300
|
+
color: '#888',
|
|
301
|
+
textAlign: 'center',
|
|
302
|
+
marginTop: 8,
|
|
303
|
+
marginBottom: 8,
|
|
304
|
+
maxWidth: 320
|
|
305
|
+
},
|
|
306
|
+
sectionTitle: {
|
|
307
|
+
fontSize: 18,
|
|
308
|
+
fontWeight: '600',
|
|
309
|
+
marginBottom: 12,
|
|
310
|
+
marginTop: 8,
|
|
311
|
+
alignSelf: 'flex-start',
|
|
312
|
+
marginLeft: 24
|
|
313
|
+
},
|
|
314
|
+
historyContainer: {
|
|
315
|
+
borderRadius: 15,
|
|
316
|
+
overflow: 'hidden',
|
|
317
|
+
marginBottom: 20,
|
|
318
|
+
width: '100%',
|
|
319
|
+
paddingHorizontal: 12
|
|
320
|
+
},
|
|
321
|
+
historyItem: {
|
|
322
|
+
padding: 14,
|
|
323
|
+
borderBottomWidth: 1
|
|
324
|
+
},
|
|
325
|
+
historyPoints: {
|
|
326
|
+
fontSize: 16,
|
|
327
|
+
fontWeight: '700'
|
|
328
|
+
},
|
|
329
|
+
historyDesc: {
|
|
330
|
+
fontSize: 15,
|
|
331
|
+
marginTop: 2
|
|
332
|
+
},
|
|
333
|
+
historyDate: {
|
|
334
|
+
fontSize: 13,
|
|
335
|
+
marginTop: 2
|
|
336
|
+
},
|
|
337
|
+
footer: {
|
|
338
|
+
padding: 16,
|
|
339
|
+
borderTopWidth: 1,
|
|
340
|
+
borderTopColor: '#E0E0E0',
|
|
341
|
+
alignItems: 'center'
|
|
342
|
+
},
|
|
343
|
+
closeButton: {
|
|
344
|
+
paddingVertical: 8,
|
|
345
|
+
paddingHorizontal: 16
|
|
346
|
+
},
|
|
347
|
+
closeButtonText: {
|
|
348
|
+
fontSize: 16,
|
|
349
|
+
fontWeight: '600'
|
|
350
|
+
},
|
|
351
|
+
message: {
|
|
352
|
+
fontSize: 16,
|
|
353
|
+
textAlign: 'center',
|
|
354
|
+
marginTop: 24
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
export default KarmaCenterScreen;
|
|
358
|
+
//# sourceMappingURL=KarmaCenterScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","View","Text","TouchableOpacity","StyleSheet","ActivityIndicator","ScrollView","useOxy","fontFamilies","Avatar","Ionicons","jsx","_jsx","jsxs","_jsxs","KarmaCenterScreen","onClose","theme","navigate","goBack","user","oxyServices","karmaTotal","setKarmaTotal","karmaHistory","setKarmaHistory","isLoading","setIsLoading","error","setError","isDarkTheme","textColor","backgroundColor","secondaryBackgroundColor","borderColor","primaryColor","Promise","all","getUserKarmaTotal","id","getUserKarmaHistory","then","totalRes","historyRes","total","Array","isArray","history","catch","err","message","finally","style","styles","container","children","color","justifyContent","size","scrollView","contentContainerStyle","scrollContainer","walletHeader","imageUrl","avatarUrl","name","username","avatar","karmaLabel","karmaAmount","actionRow","actionIconWrapper","onPress","actionIcon","actionLabel","infoText","sectionTitle","historyContainer","length","textAlign","marginTop","map","entry","historyItem","historyPoints","points","historyDesc","reason","historyDate","createdAt","Date","toLocaleString","footer","closeButton","closeButtonText","create","flex","padding","alignItems","paddingTop","paddingBottom","width","marginBottom","fontSize","fontFamily","phudu","fontWeight","phuduBold","flexDirection","flexWrap","rowGap","columnGap","marginHorizontal","marginVertical","height","borderRadius","opacity","actionIconText","maxWidth","alignSelf","marginLeft","overflow","paddingHorizontal","borderBottomWidth","borderTopWidth","borderTopColor","paddingVertical"],"sourceRoot":"../../../../../src","sources":["ui/screens/karma/KarmaCenterScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SACIC,IAAI,EACJC,IAAI,EACJC,gBAAgB,EAChBC,UAAU,EACVC,iBAAiB,EACjBC,UAAU,QAGP,cAAc;AAErB,SAASC,MAAM,QAAQ,0BAA0B;AACjD,SAASC,YAAY,QAAQ,oBAAoB;AACjD,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,SAASC,QAAQ,QA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,EAAE,QAAQ;IAClBnB,YAAY,EAAE,EAAE;IAChBD,KAAK,EAAE,MAAM;IACbqB,iBAAiB,EAAE;EACvB,CAAC;EACDvC,WAAW,EAAE;IACTc,OAAO,EAAE,EAAE;IACX0B,iBAAiB,EAAE;EACvB,CAAC;EACDvC,aAAa,EAAE;IACXmB,QAAQ,EAAE,EAAE;IACZG,UAAU,EAAE;EAChB,CAAC;EACDpB,WAAW,EAAE;IACTiB,QAAQ,EAAE,EAAE;IACZvB,SAAS,EAAE;EACf,CAAC;EACDQ,WAAW,EAAE;IACTe,QAAQ,EAAE,EAAE;IACZvB,SAAS,EAAE;EACf,CAAC;EACDY,MAAM,EAAE;IACJK,OAAO,EAAE,EAAE;IACX2B,cAAc,EAAE,CAAC;IACjBC,cAAc,EAAE,SAAS;IACzB3B,UAAU,EAAE;EAChB,CAAC;EACDL,WAAW,EAAE;IACTiC,eAAe,EAAE,CAAC;IAClBJ,iBAAiB,EAAE;EACvB,CAAC;EACD5B,eAAe,EAAE;IACbS,QAAQ,EAAE,EAAE;IACZG,UAAU,EAAE;EAChB,CAAC;EACDxD,OAAO,EAAE;IACLqD,QAAQ,EAAE,EAAE;IACZxB,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAEF,eAAejE,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { View, Text, StyleSheet, ScrollView, Platform, TouchableOpacity, TextInput, LayoutAnimation, UIManager } from 'react-native';
|
|
5
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
if (Platform.OS === 'android' && UIManager.setLayoutAnimationEnabledExperimental) {
|
|
8
|
+
UIManager.setLayoutAnimationEnabledExperimental(true);
|
|
9
|
+
}
|
|
10
|
+
const FAQS = [{
|
|
11
|
+
q: 'What is karma?',
|
|
12
|
+
a: 'Karma is a recognition of your positive actions in the Oxy Ecosystem. It cannot be sent or received directly.'
|
|
13
|
+
}, {
|
|
14
|
+
q: 'How do I earn karma?',
|
|
15
|
+
a: 'By helping others, reporting bugs, contributing content, and participating in community events.'
|
|
16
|
+
}, {
|
|
17
|
+
q: 'Can I lose karma?',
|
|
18
|
+
a: 'Karma may be reduced for negative actions or breaking community rules.'
|
|
19
|
+
}, {
|
|
20
|
+
q: 'What can I do with karma?',
|
|
21
|
+
a: 'Unlock rewards, badges, and special features as you earn more karma.'
|
|
22
|
+
}, {
|
|
23
|
+
q: 'Can I transfer karma to others?',
|
|
24
|
+
a: 'No, karma cannot be sent or received. It is only earned by your actions.'
|
|
25
|
+
}, {
|
|
26
|
+
q: 'How do I get support?',
|
|
27
|
+
a: 'Contact Oxy support via the app or website for any karma-related questions.'
|
|
28
|
+
}];
|
|
29
|
+
const KarmaFAQScreen = ({
|
|
30
|
+
goBack,
|
|
31
|
+
theme
|
|
32
|
+
}) => {
|
|
33
|
+
const isDarkTheme = theme === 'dark';
|
|
34
|
+
const backgroundColor = isDarkTheme ? '#121212' : '#FFFFFF';
|
|
35
|
+
const textColor = isDarkTheme ? '#FFFFFF' : '#000000';
|
|
36
|
+
const cardColor = isDarkTheme ? '#23232b' : '#f7f7fa';
|
|
37
|
+
const primaryColor = '#d169e5';
|
|
38
|
+
const inputBg = isDarkTheme ? '#23232b' : '#f2f2f7';
|
|
39
|
+
const inputBorder = isDarkTheme ? '#444' : '#e0e0e0';
|
|
40
|
+
const [expanded, setExpanded] = useState(0);
|
|
41
|
+
const [search, setSearch] = useState('');
|
|
42
|
+
const filteredFaqs = FAQS.filter(faq => faq.q.toLowerCase().includes(search.toLowerCase()) || faq.a.toLowerCase().includes(search.toLowerCase()));
|
|
43
|
+
const handleToggle = idx => {
|
|
44
|
+
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
|
|
45
|
+
setExpanded(expanded === idx ? null : idx);
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
48
|
+
style: [styles.container, {
|
|
49
|
+
backgroundColor
|
|
50
|
+
}],
|
|
51
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
52
|
+
style: [styles.title, {
|
|
53
|
+
color: textColor
|
|
54
|
+
}],
|
|
55
|
+
children: "Karma FAQ"
|
|
56
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
57
|
+
style: [styles.searchBar, {
|
|
58
|
+
backgroundColor: inputBg,
|
|
59
|
+
borderColor: inputBorder
|
|
60
|
+
}],
|
|
61
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
62
|
+
name: "search-outline",
|
|
63
|
+
size: 20,
|
|
64
|
+
color: primaryColor,
|
|
65
|
+
style: {
|
|
66
|
+
marginRight: 8
|
|
67
|
+
}
|
|
68
|
+
}), /*#__PURE__*/_jsx(TextInput, {
|
|
69
|
+
style: [styles.searchInput, {
|
|
70
|
+
color: textColor
|
|
71
|
+
}],
|
|
72
|
+
placeholder: "Search FAQ...",
|
|
73
|
+
placeholderTextColor: isDarkTheme ? '#aaa' : '#888',
|
|
74
|
+
value: search,
|
|
75
|
+
onChangeText: setSearch,
|
|
76
|
+
returnKeyType: "search"
|
|
77
|
+
})]
|
|
78
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
79
|
+
contentContainerStyle: styles.contentContainer,
|
|
80
|
+
keyboardShouldPersistTaps: "handled",
|
|
81
|
+
children: [filteredFaqs.length === 0 ? /*#__PURE__*/_jsx(Text, {
|
|
82
|
+
style: [styles.noResults, {
|
|
83
|
+
color: textColor
|
|
84
|
+
}],
|
|
85
|
+
children: "No results found."
|
|
86
|
+
}) : filteredFaqs.map((item, idx) => {
|
|
87
|
+
const isOpen = expanded === idx;
|
|
88
|
+
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
89
|
+
style: [styles.card, {
|
|
90
|
+
backgroundColor: cardColor,
|
|
91
|
+
shadowColor: isDarkTheme ? '#000' : '#d169e5'
|
|
92
|
+
}],
|
|
93
|
+
activeOpacity: 0.95,
|
|
94
|
+
onPress: () => handleToggle(idx),
|
|
95
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
96
|
+
style: styles.questionRow,
|
|
97
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
98
|
+
name: isOpen ? 'chevron-down' : 'chevron-forward',
|
|
99
|
+
size: 22,
|
|
100
|
+
color: primaryColor,
|
|
101
|
+
style: {
|
|
102
|
+
marginRight: 8
|
|
103
|
+
}
|
|
104
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
105
|
+
style: [styles.question, {
|
|
106
|
+
color: primaryColor
|
|
107
|
+
}],
|
|
108
|
+
children: item.q
|
|
109
|
+
})]
|
|
110
|
+
}), isOpen && /*#__PURE__*/_jsx(Text, {
|
|
111
|
+
style: [styles.answer, {
|
|
112
|
+
color: textColor
|
|
113
|
+
}],
|
|
114
|
+
children: item.a
|
|
115
|
+
})]
|
|
116
|
+
}, idx);
|
|
117
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
118
|
+
style: [styles.paragraph, {
|
|
119
|
+
color: textColor,
|
|
120
|
+
marginTop: 32,
|
|
121
|
+
textAlign: 'center'
|
|
122
|
+
}],
|
|
123
|
+
children: "Still have questions? Contact support!"
|
|
124
|
+
})]
|
|
125
|
+
})]
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
const styles = StyleSheet.create({
|
|
129
|
+
container: {
|
|
130
|
+
flex: 1
|
|
131
|
+
},
|
|
132
|
+
title: {
|
|
133
|
+
fontFamily: Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
|
|
134
|
+
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
135
|
+
fontSize: 38,
|
|
136
|
+
margin: 24,
|
|
137
|
+
marginBottom: 12,
|
|
138
|
+
textAlign: 'center'
|
|
139
|
+
},
|
|
140
|
+
searchBar: {
|
|
141
|
+
flexDirection: 'row',
|
|
142
|
+
alignItems: 'center',
|
|
143
|
+
borderRadius: 16,
|
|
144
|
+
borderWidth: 1,
|
|
145
|
+
marginHorizontal: 24,
|
|
146
|
+
marginBottom: 12,
|
|
147
|
+
paddingHorizontal: 12,
|
|
148
|
+
height: 44
|
|
149
|
+
},
|
|
150
|
+
searchInput: {
|
|
151
|
+
flex: 1,
|
|
152
|
+
fontSize: 16,
|
|
153
|
+
height: 44
|
|
154
|
+
},
|
|
155
|
+
contentContainer: {
|
|
156
|
+
padding: 24,
|
|
157
|
+
paddingBottom: 40
|
|
158
|
+
},
|
|
159
|
+
card: {
|
|
160
|
+
borderRadius: 18,
|
|
161
|
+
padding: 20,
|
|
162
|
+
marginBottom: 18,
|
|
163
|
+
shadowOpacity: 0.08,
|
|
164
|
+
shadowOffset: {
|
|
165
|
+
width: 0,
|
|
166
|
+
height: 2
|
|
167
|
+
},
|
|
168
|
+
shadowRadius: 8,
|
|
169
|
+
elevation: 2
|
|
170
|
+
},
|
|
171
|
+
questionRow: {
|
|
172
|
+
flexDirection: 'row',
|
|
173
|
+
alignItems: 'center',
|
|
174
|
+
marginBottom: 8
|
|
175
|
+
},
|
|
176
|
+
question: {
|
|
177
|
+
fontSize: 17,
|
|
178
|
+
fontWeight: 'bold'
|
|
179
|
+
},
|
|
180
|
+
answer: {
|
|
181
|
+
fontSize: 16,
|
|
182
|
+
lineHeight: 22,
|
|
183
|
+
marginTop: 8
|
|
184
|
+
},
|
|
185
|
+
paragraph: {
|
|
186
|
+
fontSize: 16,
|
|
187
|
+
marginBottom: 12
|
|
188
|
+
},
|
|
189
|
+
noResults: {
|
|
190
|
+
fontSize: 16,
|
|
191
|
+
marginTop: 32,
|
|
192
|
+
textAlign: 'center',
|
|
193
|
+
opacity: 0.7
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
export default KarmaFAQScreen;
|
|
197
|
+
//# sourceMappingURL=KarmaFAQScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","View","Text","StyleSheet","ScrollView","Platform","TouchableOpacity","TextInput","LayoutAnimation","UIManager","Ionicons","jsx","_jsx","jsxs","_jsxs","OS","setLayoutAnimationEnabledExperimental","FAQS","q","a","KarmaFAQScreen","goBack","theme","isDarkTheme","backgroundColor","textColor","cardColor","primaryColor","inputBg","inputBorder","expanded","setExpanded","search","setSearch","filteredFaqs","filter","faq","toLowerCase","includes","handleToggle","idx","configureNext","Presets","easeInEaseOut","style","styles","container","children","title","color","searchBar","borderColor","name","size","marginRight","searchInput","placeholder","placeholderTextColor","value","onChangeText","returnKeyType","contentContainerStyle","contentContainer","keyboardShouldPersistTaps","length","noResults","map","item","isOpen","card","shadowColor","activeOpacity","onPress","questionRow","question","answer","paragraph","marginTop","textAlign","create","flex","fontFamily","fontWeight","undefined","fontSize","margin","marginBottom","flexDirection","alignItems","borderRadius","borderWidth","marginHorizontal","paddingHorizontal","height","padding","paddingBottom","shadowOpacity","shadowOffset","width","shadowRadius","elevation","lineHeight","opacity"],"sourceRoot":"../../../../../src","sources":["ui/screens/karma/KarmaFAQScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,eAAe,EAAEC,SAAS,QAAQ,cAAc;AAEpI,SAASC,QAAQ,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9C,IAAIT,QAAQ,CAACU,EAAE,KAAK,SAAS,IAAIN,SAAS,CAACO,qCAAqC,EAAE;EAC9EP,SAAS,CAACO,qCAAqC,CAAC,IAAI,CAAC;AACzD;AAEA,MAAMC,IAAI,GAAG,CACT;EACIC,CAAC,EAAE,gBAAgB;EACnBC,CAAC,EAAE;AACP,CAAC,EACD;EACID,CAA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