@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
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const AboutKarmaScreen = ({
|
|
12
|
-
onClose,
|
|
13
|
-
theme
|
|
14
|
-
}) => {
|
|
15
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
16
|
-
style: [styles.container],
|
|
17
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
18
|
-
style: [styles.title],
|
|
19
|
-
children: "About Karma"
|
|
20
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
21
|
-
style: [styles.message],
|
|
22
|
-
children: "Karma is a system that rewards users for their contributions to the community. The more you contribute, the more karma points you earn!"
|
|
23
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
24
|
-
style: [styles.message],
|
|
25
|
-
children: "Your karma points can be used to unlock special features and benefits within the app."
|
|
26
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
27
|
-
style: [styles.message],
|
|
28
|
-
children: "Thank you for being a part of our community!"
|
|
29
|
-
})]
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
const styles = _reactNative.StyleSheet.create({
|
|
33
|
-
container: {
|
|
34
|
-
flex: 1
|
|
35
|
-
},
|
|
36
|
-
title: {
|
|
37
|
-
fontSize: 18,
|
|
38
|
-
fontWeight: 'bold',
|
|
39
|
-
color: '#000',
|
|
40
|
-
marginBottom: 15
|
|
41
|
-
},
|
|
42
|
-
message: {
|
|
43
|
-
fontSize: 14,
|
|
44
|
-
color: '#5e5e5e',
|
|
45
|
-
lineHeight: 20,
|
|
46
|
-
marginBottom: 15
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
var _default = exports.default = AboutKarmaScreen;
|
|
50
|
-
//# sourceMappingURL=AboutKarmaScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_jsxRuntime","e","__esModule","default","AboutKarmaScreen","onClose","theme","jsxs","View","style","styles","container","children","jsx","Text","title","message","StyleSheet","create","flex","fontSize","fontWeight","color","marginBottom","lineHeight","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/screens/AboutKarmaScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWsB,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,C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AA,CAAAvB,OAAA,GAEYC,gBAAgB","ignoreList":[]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { View, Text, StyleSheet } from 'react-native';
|
|
5
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
const AboutKarmaScreen = ({
|
|
7
|
-
onClose,
|
|
8
|
-
theme
|
|
9
|
-
}) => {
|
|
10
|
-
return /*#__PURE__*/_jsxs(View, {
|
|
11
|
-
style: [styles.container],
|
|
12
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
13
|
-
style: [styles.title],
|
|
14
|
-
children: "About Karma"
|
|
15
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
16
|
-
style: [styles.message],
|
|
17
|
-
children: "Karma is a system that rewards users for their contributions to the community. The more you contribute, the more karma points you earn!"
|
|
18
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
19
|
-
style: [styles.message],
|
|
20
|
-
children: "Your karma points can be used to unlock special features and benefits within the app."
|
|
21
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
22
|
-
style: [styles.message],
|
|
23
|
-
children: "Thank you for being a part of our community!"
|
|
24
|
-
})]
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
const styles = StyleSheet.create({
|
|
28
|
-
container: {
|
|
29
|
-
flex: 1
|
|
30
|
-
},
|
|
31
|
-
title: {
|
|
32
|
-
fontSize: 18,
|
|
33
|
-
fontWeight: 'bold',
|
|
34
|
-
color: '#000',
|
|
35
|
-
marginBottom: 15
|
|
36
|
-
},
|
|
37
|
-
message: {
|
|
38
|
-
fontSize: 14,
|
|
39
|
-
color: '#5e5e5e',
|
|
40
|
-
lineHeight: 20,
|
|
41
|
-
marginBottom: 15
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
export default AboutKarmaScreen;
|
|
45
|
-
//# sourceMappingURL=AboutKarmaScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","StyleSheet","jsx","_jsx","jsxs","_jsxs","AboutKarmaScreen","onClose","theme","style","styles","container","children","title","message","create","flex","fontSize","fontWeight","color","marginBottom","lineHeight"],"sourceRoot":"../../../../src","sources":["ui/screens/AboutKarmaScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAoB,OAAO;AACvC,SACIC,IAAI,EACJC,IAAI,EAEJC,UAAU,QAOP,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAItB,MAAMC,gBAA2C,GAAGA,CAAC;EACjDC,OAAO;EACPC;AACJ,CAAC,KAAK;EAGF,oBACIH,KAAA,CAACN,IAAI;IAACU,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,CAAE;IAAAC,QAAA,gBAC5BT,IAAA,CAACH,IAAI;MAACS,KAAK,EAAE,CAACC,MAAM,CAACG,KAAK,CAAE;MAAAD,QAAA,EAAC;IAAW,CAAM,CAAC,eAC/CT,IAAA,CAACH,IAAI;MAACS,KAAK,EAAE,CAACC,MAAM,CAACI,OAAO,CAAE;MAAAF,QAAA,EAAC;IAG/B,CAAM,CAAC,eACPT,IAAA,CAACH,IAAI;MAACS,KAAK,EAAE,CAACC,MAAM,CAACI,OAAO,CAAE;MAAAF,QAAA,EAAC;IAE/B,CAAM,CAAC,eACPT,IAAA,CAACH,IAAI;MAACS,KAAK,EAAE,CAACC,MAAM,CAACI,OAAO,CAAE;MAAAF,QAAA,EAAC;IAE/B,CAAM,CAAC;EAAA,CACL,CAAC;AAEf,CAAC;AAED,MAAMF,MAAM,GAAGT,UAAU,CAACc,MAAM,CAAC;EAC7BJ,SAAS,EAAE;IACPK,IAAI,EAAE;EACV,CAAC;EACDH,KAAK,EAAE;IACHI,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,MAAM;IAClBC,KAAK,EAAE,MAAM;IACbC,YAAY,EAAE;EAClB,CAAC;EACDN,OAAO,EAAE;IACLG,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAE,SAAS;IAChBE,UAAU,EAAE,EAAE;IACdD,YAAY,EAAE;EAClB;AACJ,CAAC,CAAC;AAEF,eAAed,gBAAgB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AboutKarmaScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/AboutKarmaScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqB/C,CAAC;AAoBF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
View,
|
|
4
|
-
Text,
|
|
5
|
-
TouchableOpacity,
|
|
6
|
-
StyleSheet,
|
|
7
|
-
ActivityIndicator,
|
|
8
|
-
ScrollView,
|
|
9
|
-
Alert,
|
|
10
|
-
Platform,
|
|
11
|
-
Image,
|
|
12
|
-
TextStyle,
|
|
13
|
-
} from 'react-native';
|
|
14
|
-
import { BaseScreenProps } from '../navigation/types';
|
|
15
|
-
import { fontFamilies } from '../styles/fonts';
|
|
16
|
-
|
|
17
|
-
const AboutKarmaScreen: React.FC<BaseScreenProps> = ({
|
|
18
|
-
onClose,
|
|
19
|
-
theme,
|
|
20
|
-
}) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<View style={[styles.container]}>
|
|
25
|
-
<Text style={[styles.title]}>About Karma</Text>
|
|
26
|
-
<Text style={[styles.message]}>
|
|
27
|
-
Karma is a system that rewards users for their contributions to the community.
|
|
28
|
-
The more you contribute, the more karma points you earn!
|
|
29
|
-
</Text>
|
|
30
|
-
<Text style={[styles.message]}>
|
|
31
|
-
Your karma points can be used to unlock special features and benefits within the app.
|
|
32
|
-
</Text>
|
|
33
|
-
<Text style={[styles.message]}>
|
|
34
|
-
Thank you for being a part of our community!
|
|
35
|
-
</Text>
|
|
36
|
-
</View>
|
|
37
|
-
);
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
const styles = StyleSheet.create({
|
|
41
|
-
container: {
|
|
42
|
-
flex: 1,
|
|
43
|
-
},
|
|
44
|
-
title: {
|
|
45
|
-
fontSize: 18,
|
|
46
|
-
fontWeight: 'bold',
|
|
47
|
-
color: '#000',
|
|
48
|
-
marginBottom: 15,
|
|
49
|
-
},
|
|
50
|
-
message: {
|
|
51
|
-
fontSize: 14,
|
|
52
|
-
color: '#5e5e5e',
|
|
53
|
-
lineHeight: 20,
|
|
54
|
-
marginBottom: 15,
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export default AboutKarmaScreen;
|