react-native-salespanda 0.1.0 → 0.2.0
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/module/index.js +9 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/AppNavigator.js +11 -0
- package/lib/module/navigation/AppNavigator.js.map +1 -0
- package/lib/module/navigation/BottomTabNavigator.js +88 -0
- package/lib/module/navigation/BottomTabNavigator.js.map +1 -0
- package/lib/module/navigation/DrawerNavigator.js +217 -0
- package/lib/module/navigation/DrawerNavigator.js.map +1 -0
- package/lib/module/screens/HomeScreen.js +0 -52
- package/lib/module/screens/HomeScreen.js.map +1 -1
- package/lib/module/screens/NotificationsScreen.js +127 -0
- package/lib/module/screens/NotificationsScreen.js.map +1 -0
- package/lib/module/screens/PremiumScreen.js +222 -0
- package/lib/module/screens/PremiumScreen.js.map +1 -0
- package/lib/module/screens/ProfileScreen.js +147 -0
- package/lib/module/screens/ProfileScreen.js.map +1 -0
- package/lib/module/screens/ReportsScreen.js +217 -0
- package/lib/module/screens/ReportsScreen.js.map +1 -0
- package/lib/typescript/src/index.d.ts +7 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigation/AppNavigator.d.ts +2 -0
- package/lib/typescript/src/navigation/AppNavigator.d.ts.map +1 -0
- package/lib/typescript/src/navigation/BottomTabNavigator.d.ts +2 -0
- package/lib/typescript/src/navigation/BottomTabNavigator.d.ts.map +1 -0
- package/lib/typescript/src/navigation/DrawerNavigator.d.ts +2 -0
- package/lib/typescript/src/navigation/DrawerNavigator.d.ts.map +1 -0
- package/lib/typescript/src/screens/HomeScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/NotificationsScreen.d.ts +2 -0
- package/lib/typescript/src/screens/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/PremiumScreen.d.ts +2 -0
- package/lib/typescript/src/screens/PremiumScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/ProfileScreen.d.ts +2 -0
- package/lib/typescript/src/screens/ProfileScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/ReportsScreen.d.ts +2 -0
- package/lib/typescript/src/screens/ReportsScreen.d.ts.map +1 -0
- package/package.json +10 -1
- package/src/index.tsx +9 -0
- package/src/navigation/AppNavigator.tsx +10 -0
- package/src/navigation/BottomTabNavigator.tsx +64 -0
- package/src/navigation/DrawerNavigator.tsx +238 -0
- package/src/screens/HomeScreen.tsx +4 -36
- package/src/screens/NotificationsScreen.tsx +135 -0
- package/src/screens/PremiumScreen.tsx +250 -0
- package/src/screens/ProfileScreen.tsx +121 -0
- package/src/screens/ReportsScreen.tsx +191 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Text, StyleSheet, SafeAreaView, ScrollView, TouchableOpacity } from 'react-native';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
const PlanCard = ({
|
|
7
|
+
name,
|
|
8
|
+
price,
|
|
9
|
+
features,
|
|
10
|
+
highlighted = false
|
|
11
|
+
}) => {
|
|
12
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
13
|
+
style: [styles.planCard, highlighted && styles.highlightedPlan],
|
|
14
|
+
children: [highlighted && /*#__PURE__*/_jsx(View, {
|
|
15
|
+
style: styles.popularBadge,
|
|
16
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
17
|
+
style: styles.popularText,
|
|
18
|
+
children: "MOST POPULAR"
|
|
19
|
+
})
|
|
20
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
21
|
+
style: styles.planName,
|
|
22
|
+
children: name
|
|
23
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
24
|
+
style: styles.planPrice,
|
|
25
|
+
children: price
|
|
26
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
27
|
+
style: styles.planPeriod,
|
|
28
|
+
children: "per month"
|
|
29
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
30
|
+
style: styles.features,
|
|
31
|
+
children: features.map((feature, index) => /*#__PURE__*/_jsxs(View, {
|
|
32
|
+
style: styles.featureItem,
|
|
33
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
34
|
+
style: styles.featureIcon,
|
|
35
|
+
children: "\u2713"
|
|
36
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
37
|
+
style: styles.featureText,
|
|
38
|
+
children: feature
|
|
39
|
+
})]
|
|
40
|
+
}, index))
|
|
41
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
42
|
+
style: [styles.subscribeButton, highlighted && styles.highlightedButton],
|
|
43
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
44
|
+
style: [styles.subscribeButtonText, highlighted && styles.highlightedButtonText],
|
|
45
|
+
children: "Subscribe"
|
|
46
|
+
})
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
export default function PremiumScreen() {
|
|
51
|
+
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
52
|
+
style: styles.container,
|
|
53
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
54
|
+
style: styles.header,
|
|
55
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
56
|
+
style: styles.headerTitle,
|
|
57
|
+
children: "Premium Plans"
|
|
58
|
+
})
|
|
59
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
60
|
+
style: styles.scrollView,
|
|
61
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
62
|
+
style: styles.heroSection,
|
|
63
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
64
|
+
style: styles.heroIcon,
|
|
65
|
+
children: "\uD83D\uDC8E"
|
|
66
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
67
|
+
style: styles.heroTitle,
|
|
68
|
+
children: "Unlock Premium Features"
|
|
69
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
70
|
+
style: styles.heroDescription,
|
|
71
|
+
children: "Get access to exclusive features and tools to grow your business"
|
|
72
|
+
})]
|
|
73
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
74
|
+
style: styles.plansContainer,
|
|
75
|
+
children: [/*#__PURE__*/_jsx(PlanCard, {
|
|
76
|
+
name: "Basic",
|
|
77
|
+
price: "$9.99",
|
|
78
|
+
features: ['Up to 100 contacts', '5 campaigns per month', 'Basic analytics', 'Email support']
|
|
79
|
+
}), /*#__PURE__*/_jsx(PlanCard, {
|
|
80
|
+
name: "Professional",
|
|
81
|
+
price: "$29.99",
|
|
82
|
+
features: ['Up to 1,000 contacts', 'Unlimited campaigns', 'Advanced analytics', 'Priority support', 'Custom branding', 'API access'],
|
|
83
|
+
highlighted: true
|
|
84
|
+
}), /*#__PURE__*/_jsx(PlanCard, {
|
|
85
|
+
name: "Enterprise",
|
|
86
|
+
price: "$99.99",
|
|
87
|
+
features: ['Unlimited contacts', 'Unlimited campaigns', 'Advanced analytics', '24/7 dedicated support', 'Custom branding', 'API access', 'Custom integrations', 'White-label solution']
|
|
88
|
+
})]
|
|
89
|
+
})]
|
|
90
|
+
})]
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
const styles = StyleSheet.create({
|
|
94
|
+
container: {
|
|
95
|
+
flex: 1,
|
|
96
|
+
backgroundColor: '#f5f5f5'
|
|
97
|
+
},
|
|
98
|
+
header: {
|
|
99
|
+
backgroundColor: '#fff',
|
|
100
|
+
padding: 16,
|
|
101
|
+
borderBottomWidth: 1,
|
|
102
|
+
borderBottomColor: '#e0e0e0'
|
|
103
|
+
},
|
|
104
|
+
headerTitle: {
|
|
105
|
+
fontSize: 20,
|
|
106
|
+
fontWeight: '600',
|
|
107
|
+
color: '#333',
|
|
108
|
+
textAlign: 'center'
|
|
109
|
+
},
|
|
110
|
+
scrollView: {
|
|
111
|
+
flex: 1
|
|
112
|
+
},
|
|
113
|
+
heroSection: {
|
|
114
|
+
backgroundColor: '#4a148c',
|
|
115
|
+
padding: 32,
|
|
116
|
+
alignItems: 'center'
|
|
117
|
+
},
|
|
118
|
+
heroIcon: {
|
|
119
|
+
fontSize: 48,
|
|
120
|
+
marginBottom: 16
|
|
121
|
+
},
|
|
122
|
+
heroTitle: {
|
|
123
|
+
fontSize: 24,
|
|
124
|
+
fontWeight: '700',
|
|
125
|
+
color: '#fff',
|
|
126
|
+
marginBottom: 8,
|
|
127
|
+
textAlign: 'center'
|
|
128
|
+
},
|
|
129
|
+
heroDescription: {
|
|
130
|
+
fontSize: 14,
|
|
131
|
+
color: '#fff',
|
|
132
|
+
textAlign: 'center',
|
|
133
|
+
opacity: 0.9
|
|
134
|
+
},
|
|
135
|
+
plansContainer: {
|
|
136
|
+
padding: 16
|
|
137
|
+
},
|
|
138
|
+
planCard: {
|
|
139
|
+
backgroundColor: '#fff',
|
|
140
|
+
borderRadius: 16,
|
|
141
|
+
padding: 24,
|
|
142
|
+
marginBottom: 16,
|
|
143
|
+
borderWidth: 2,
|
|
144
|
+
borderColor: '#e0e0e0'
|
|
145
|
+
},
|
|
146
|
+
highlightedPlan: {
|
|
147
|
+
borderColor: '#4a148c',
|
|
148
|
+
transform: [{
|
|
149
|
+
scale: 1.02
|
|
150
|
+
}]
|
|
151
|
+
},
|
|
152
|
+
popularBadge: {
|
|
153
|
+
backgroundColor: '#4a148c',
|
|
154
|
+
paddingHorizontal: 12,
|
|
155
|
+
paddingVertical: 6,
|
|
156
|
+
borderRadius: 12,
|
|
157
|
+
alignSelf: 'center',
|
|
158
|
+
marginBottom: 16
|
|
159
|
+
},
|
|
160
|
+
popularText: {
|
|
161
|
+
color: '#fff',
|
|
162
|
+
fontSize: 10,
|
|
163
|
+
fontWeight: '700'
|
|
164
|
+
},
|
|
165
|
+
planName: {
|
|
166
|
+
fontSize: 24,
|
|
167
|
+
fontWeight: '700',
|
|
168
|
+
color: '#333',
|
|
169
|
+
textAlign: 'center',
|
|
170
|
+
marginBottom: 8
|
|
171
|
+
},
|
|
172
|
+
planPrice: {
|
|
173
|
+
fontSize: 36,
|
|
174
|
+
fontWeight: '700',
|
|
175
|
+
color: '#4a148c',
|
|
176
|
+
textAlign: 'center'
|
|
177
|
+
},
|
|
178
|
+
planPeriod: {
|
|
179
|
+
fontSize: 14,
|
|
180
|
+
color: '#666',
|
|
181
|
+
textAlign: 'center',
|
|
182
|
+
marginBottom: 24
|
|
183
|
+
},
|
|
184
|
+
features: {
|
|
185
|
+
marginBottom: 24
|
|
186
|
+
},
|
|
187
|
+
featureItem: {
|
|
188
|
+
flexDirection: 'row',
|
|
189
|
+
alignItems: 'center',
|
|
190
|
+
marginBottom: 12
|
|
191
|
+
},
|
|
192
|
+
featureIcon: {
|
|
193
|
+
fontSize: 16,
|
|
194
|
+
color: '#4a148c',
|
|
195
|
+
marginRight: 12,
|
|
196
|
+
fontWeight: '700'
|
|
197
|
+
},
|
|
198
|
+
featureText: {
|
|
199
|
+
fontSize: 14,
|
|
200
|
+
color: '#333'
|
|
201
|
+
},
|
|
202
|
+
subscribeButton: {
|
|
203
|
+
backgroundColor: '#fff',
|
|
204
|
+
borderWidth: 2,
|
|
205
|
+
borderColor: '#4a148c',
|
|
206
|
+
borderRadius: 8,
|
|
207
|
+
padding: 16,
|
|
208
|
+
alignItems: 'center'
|
|
209
|
+
},
|
|
210
|
+
highlightedButton: {
|
|
211
|
+
backgroundColor: '#4a148c'
|
|
212
|
+
},
|
|
213
|
+
subscribeButtonText: {
|
|
214
|
+
fontSize: 16,
|
|
215
|
+
fontWeight: '600',
|
|
216
|
+
color: '#4a148c'
|
|
217
|
+
},
|
|
218
|
+
highlightedButtonText: {
|
|
219
|
+
color: '#fff'
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
//# sourceMappingURL=PremiumScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","SafeAreaView","ScrollView","TouchableOpacity","jsx","_jsx","jsxs","_jsxs","PlanCard","name","price","features","highlighted","style","styles","planCard","highlightedPlan","children","popularBadge","popularText","planName","planPrice","planPeriod","map","feature","index","featureItem","featureIcon","featureText","subscribeButton","highlightedButton","subscribeButtonText","highlightedButtonText","PremiumScreen","container","header","headerTitle","scrollView","heroSection","heroIcon","heroTitle","heroDescription","plansContainer","create","flex","backgroundColor","padding","borderBottomWidth","borderBottomColor","fontSize","fontWeight","color","textAlign","alignItems","marginBottom","opacity","borderRadius","borderWidth","borderColor","transform","scale","paddingHorizontal","paddingVertical","alignSelf","flexDirection","marginRight"],"sourceRoot":"../../../src","sources":["screens/PremiumScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,gBAAgB,QACX,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAStB,MAAMC,QAAiC,GAAGA,CAAC;EACzCC,IAAI;EACJC,KAAK;EACLC,QAAQ;EACRC,WAAW,GAAG;AAChB,CAAC,KAAK;EACJ,oBACEL,KAAA,CAACT,IAAI;IAACe,KAAK,EAAE,CAACC,MAAM,CAACC,QAAQ,EAAEH,WAAW,IAAIE,MAAM,CAACE,eAAe,CAAE;IAAAC,QAAA,GACnEL,WAAW,iBACVP,IAAA,CAACP,IAAI;MAACe,KAAK,EAAEC,MAAM,CAACI,YAAa;MAAAD,QAAA,eAC/BZ,IAAA,CAACN,IAAI;QAACc,KAAK,EAAEC,MAAM,CAACK,WAAY;QAAAF,QAAA,EAAC;MAAY,CAAM;IAAC,CAChD,CACP,eACDZ,IAAA,CAACN,IAAI;MAACc,KAAK,EAAEC,MAAM,CAACM,QAAS;MAAAH,QAAA,EAAER;IAAI,CAAO,CAAC,eAC3CJ,IAAA,CAACN,IAAI;MAACc,KAAK,EAAEC,MAAM,CAACO,SAAU;MAAAJ,QAAA,EAAEP;IAAK,CAAO,CAAC,eAC7CL,IAAA,CAACN,IAAI;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AQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE;EACT,CAAC;EACDnB,qBAAqB,EAAE;IACrBmB,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View, Text, StyleSheet, SafeAreaView, TouchableOpacity, Image } from 'react-native';
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
export default function ProfileScreen() {
|
|
6
|
+
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
7
|
+
style: styles.container,
|
|
8
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
9
|
+
style: styles.header,
|
|
10
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
11
|
+
style: styles.headerTitle,
|
|
12
|
+
children: "Profile"
|
|
13
|
+
})
|
|
14
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
15
|
+
style: styles.content,
|
|
16
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
17
|
+
style: styles.profileSection,
|
|
18
|
+
children: [/*#__PURE__*/_jsx(Image, {
|
|
19
|
+
source: {
|
|
20
|
+
uri: 'https://via.placeholder.com/100x100'
|
|
21
|
+
},
|
|
22
|
+
style: styles.avatar
|
|
23
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
24
|
+
style: styles.name,
|
|
25
|
+
children: "John Doe"
|
|
26
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
27
|
+
style: styles.email,
|
|
28
|
+
children: "john.doe@example.com"
|
|
29
|
+
})]
|
|
30
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
31
|
+
style: styles.section,
|
|
32
|
+
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
33
|
+
style: styles.menuItem,
|
|
34
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
35
|
+
style: styles.menuItemIcon,
|
|
36
|
+
children: "\uD83D\uDC64"
|
|
37
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
38
|
+
style: styles.menuItemText,
|
|
39
|
+
children: "Edit Profile"
|
|
40
|
+
})]
|
|
41
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
42
|
+
style: styles.menuItem,
|
|
43
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
44
|
+
style: styles.menuItemIcon,
|
|
45
|
+
children: "\u2699\uFE0F"
|
|
46
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
47
|
+
style: styles.menuItemText,
|
|
48
|
+
children: "Settings"
|
|
49
|
+
})]
|
|
50
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
51
|
+
style: styles.menuItem,
|
|
52
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
53
|
+
style: styles.menuItemIcon,
|
|
54
|
+
children: "\uD83D\uDD14"
|
|
55
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
56
|
+
style: styles.menuItemText,
|
|
57
|
+
children: "Notifications"
|
|
58
|
+
})]
|
|
59
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
60
|
+
style: styles.menuItem,
|
|
61
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
62
|
+
style: styles.menuItemIcon,
|
|
63
|
+
children: "\u2753"
|
|
64
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
65
|
+
style: styles.menuItemText,
|
|
66
|
+
children: "Help & Support"
|
|
67
|
+
})]
|
|
68
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
69
|
+
style: styles.menuItem,
|
|
70
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
71
|
+
style: styles.menuItemIcon,
|
|
72
|
+
children: "\uD83D\uDEAA"
|
|
73
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
74
|
+
style: styles.menuItemText,
|
|
75
|
+
children: "Logout"
|
|
76
|
+
})]
|
|
77
|
+
})]
|
|
78
|
+
})]
|
|
79
|
+
})]
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
const styles = StyleSheet.create({
|
|
83
|
+
container: {
|
|
84
|
+
flex: 1,
|
|
85
|
+
backgroundColor: '#f5f5f5'
|
|
86
|
+
},
|
|
87
|
+
header: {
|
|
88
|
+
backgroundColor: '#fff',
|
|
89
|
+
padding: 16,
|
|
90
|
+
borderBottomWidth: 1,
|
|
91
|
+
borderBottomColor: '#e0e0e0'
|
|
92
|
+
},
|
|
93
|
+
headerTitle: {
|
|
94
|
+
fontSize: 20,
|
|
95
|
+
fontWeight: '600',
|
|
96
|
+
color: '#333',
|
|
97
|
+
textAlign: 'center'
|
|
98
|
+
},
|
|
99
|
+
content: {
|
|
100
|
+
flex: 1,
|
|
101
|
+
padding: 16
|
|
102
|
+
},
|
|
103
|
+
profileSection: {
|
|
104
|
+
backgroundColor: '#fff',
|
|
105
|
+
borderRadius: 12,
|
|
106
|
+
padding: 24,
|
|
107
|
+
alignItems: 'center',
|
|
108
|
+
marginBottom: 16
|
|
109
|
+
},
|
|
110
|
+
avatar: {
|
|
111
|
+
width: 100,
|
|
112
|
+
height: 100,
|
|
113
|
+
borderRadius: 50,
|
|
114
|
+
marginBottom: 16
|
|
115
|
+
},
|
|
116
|
+
name: {
|
|
117
|
+
fontSize: 20,
|
|
118
|
+
fontWeight: '600',
|
|
119
|
+
color: '#333',
|
|
120
|
+
marginBottom: 4
|
|
121
|
+
},
|
|
122
|
+
email: {
|
|
123
|
+
fontSize: 14,
|
|
124
|
+
color: '#666'
|
|
125
|
+
},
|
|
126
|
+
section: {
|
|
127
|
+
backgroundColor: '#fff',
|
|
128
|
+
borderRadius: 12,
|
|
129
|
+
overflow: 'hidden'
|
|
130
|
+
},
|
|
131
|
+
menuItem: {
|
|
132
|
+
flexDirection: 'row',
|
|
133
|
+
alignItems: 'center',
|
|
134
|
+
padding: 16,
|
|
135
|
+
borderBottomWidth: 1,
|
|
136
|
+
borderBottomColor: '#f0f0f0'
|
|
137
|
+
},
|
|
138
|
+
menuItemIcon: {
|
|
139
|
+
fontSize: 24,
|
|
140
|
+
marginRight: 16
|
|
141
|
+
},
|
|
142
|
+
menuItemText: {
|
|
143
|
+
fontSize: 16,
|
|
144
|
+
color: '#333'
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
//# sourceMappingURL=ProfileScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Text","StyleSheet","SafeAreaView","TouchableOpacity","Image","jsx","_jsx","jsxs","_jsxs","ProfileScreen","style","styles","container","children","header","headerTitle","content","profileSection","source","uri","avatar","name","email","section","menuItem","menuItemIcon","menuItemText","create","flex","backgroundColor","padding","borderBottomWidth","borderBottomColor","fontSize","fontWeight","color","textAlign","borderRadius","alignItems","marginBottom","width","height","overflow","flexDirection","marginRight"],"sourceRoot":"../../../src","sources":["screens/ProfileScreen.tsx"],"mappings":";;AAAA,SACEA,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,YAAY,EACZC,gBAAgB,EAChBC,KAAK,QACA,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEtB,eAAe,SAASC,aAAaA,CAAA,EAAG;EACtC,oBACED,KAAA,CAACN,YAAY;IAACQ,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,gBACpCP,IAAA,CAACP,IAAI;MAACW,KAAK,EAAEC,MAAM,CAACG,MAAO;MAAAD,QAAA,eACzBP,IAAA,CAACN,IAAI;QAACU,KAAK,EAAEC,MAAM,CAACI,WAAY;QAAAF,QAAA,EAAC;MAAO,CAAM;IAAC,CAC3C,CAAC,eACPL,KAAA,CAACT,IAAI;MAACW,KAAK,EAAEC,MAAM,CAACK,OAAQ;MAAAH,QAAA,gBAC1BL,KAAA,CAACT,IAAI;QAACW,KAAK,EAAEC,MAAM,CAACM,cAAe;QAAAJ,QAAA,gBACjCP,IAAA,CAACF,KAAK;UACJc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AY,EAAE,EAAE;IAChBP,OAAO,EAAE,EAAE;IACXQ,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE;EAChB,CAAC;EACDnB,MAAM,EAAE;IACNoB,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE,GAAG;IACXJ,YAAY,EAAE,EAAE;IAChBE,YAAY,EAAE;EAChB,CAAC;EACDlB,IAAI,EAAE;IACJY,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAE,MAAM;IACbI,YAAY,EAAE;EAChB,CAAC;EACDjB,KAAK,EAAE;IACLW,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAE;EACT,CAAC;EACDZ,OAAO,EAAE;IACPM,eAAe,EAAE,MAAM;IACvBQ,YAAY,EAAE,EAAE;IAChBK,QAAQ,EAAE;EACZ,CAAC;EACDlB,QAAQ,EAAE;IACRmB,aAAa,EAAE,KAAK;IACpBL,UAAU,EAAE,QAAQ;IACpBR,OAAO,EAAE,EAAE;IACXC,iBAAiB,EAAE,CAAC;IACpBC,iBAAiB,EAAE;EACrB,CAAC;EACDP,YAAY,EAAE;IACZQ,QAAQ,EAAE,EAAE;IACZW,WAAW,EAAE;EACf,CAAC;EACDlB,YAAY,EAAE;IACZO,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View, Text, StyleSheet, SafeAreaView, ScrollView, TouchableOpacity } from 'react-native';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
+
const StatCard = ({
|
|
7
|
+
title,
|
|
8
|
+
value,
|
|
9
|
+
icon,
|
|
10
|
+
color
|
|
11
|
+
}) => {
|
|
12
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
13
|
+
style: [styles.statCard, {
|
|
14
|
+
backgroundColor: color
|
|
15
|
+
}],
|
|
16
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
17
|
+
style: styles.statIcon,
|
|
18
|
+
children: icon
|
|
19
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
20
|
+
style: styles.statValue,
|
|
21
|
+
children: value
|
|
22
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
23
|
+
style: styles.statTitle,
|
|
24
|
+
children: title
|
|
25
|
+
})]
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
export default function ReportsScreen() {
|
|
29
|
+
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
30
|
+
style: styles.container,
|
|
31
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
32
|
+
style: styles.header,
|
|
33
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
34
|
+
style: styles.headerTitle,
|
|
35
|
+
children: "Reports"
|
|
36
|
+
})
|
|
37
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
38
|
+
style: styles.scrollView,
|
|
39
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
40
|
+
style: styles.statsGrid,
|
|
41
|
+
children: [/*#__PURE__*/_jsx(StatCard, {
|
|
42
|
+
title: "Total Campaigns",
|
|
43
|
+
value: "24",
|
|
44
|
+
icon: "\uD83D\uDCE7",
|
|
45
|
+
color: "#e3f2fd"
|
|
46
|
+
}), /*#__PURE__*/_jsx(StatCard, {
|
|
47
|
+
title: "Active Contacts",
|
|
48
|
+
value: "1,234",
|
|
49
|
+
icon: "\uD83D\uDC65",
|
|
50
|
+
color: "#f3e5f5"
|
|
51
|
+
}), /*#__PURE__*/_jsx(StatCard, {
|
|
52
|
+
title: "Total Views",
|
|
53
|
+
value: "5,678",
|
|
54
|
+
icon: "\uD83D\uDC41\uFE0F",
|
|
55
|
+
color: "#e8f5e9"
|
|
56
|
+
}), /*#__PURE__*/_jsx(StatCard, {
|
|
57
|
+
title: "Conversions",
|
|
58
|
+
value: "89",
|
|
59
|
+
icon: "\u2705",
|
|
60
|
+
color: "#fff3e0"
|
|
61
|
+
})]
|
|
62
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
63
|
+
style: styles.section,
|
|
64
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
65
|
+
style: styles.sectionTitle,
|
|
66
|
+
children: "Recent Activity"
|
|
67
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
68
|
+
style: styles.activityItem,
|
|
69
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
70
|
+
style: styles.activityIcon,
|
|
71
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
72
|
+
style: styles.activityIconText,
|
|
73
|
+
children: "\uD83D\uDCCA"
|
|
74
|
+
})
|
|
75
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
76
|
+
style: styles.activityContent,
|
|
77
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
78
|
+
style: styles.activityTitle,
|
|
79
|
+
children: "Campaign Analytics"
|
|
80
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
81
|
+
style: styles.activityDescription,
|
|
82
|
+
children: "View detailed analytics for your campaigns"
|
|
83
|
+
})]
|
|
84
|
+
})]
|
|
85
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
86
|
+
style: styles.activityItem,
|
|
87
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
88
|
+
style: styles.activityIcon,
|
|
89
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
90
|
+
style: styles.activityIconText,
|
|
91
|
+
children: "\uD83D\uDCC8"
|
|
92
|
+
})
|
|
93
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
94
|
+
style: styles.activityContent,
|
|
95
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
96
|
+
style: styles.activityTitle,
|
|
97
|
+
children: "Performance Report"
|
|
98
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
99
|
+
style: styles.activityDescription,
|
|
100
|
+
children: "Monthly performance summary"
|
|
101
|
+
})]
|
|
102
|
+
})]
|
|
103
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
104
|
+
style: styles.activityItem,
|
|
105
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
106
|
+
style: styles.activityIcon,
|
|
107
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
108
|
+
style: styles.activityIconText,
|
|
109
|
+
children: "\uD83D\uDCB0"
|
|
110
|
+
})
|
|
111
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
112
|
+
style: styles.activityContent,
|
|
113
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
114
|
+
style: styles.activityTitle,
|
|
115
|
+
children: "Revenue Report"
|
|
116
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
117
|
+
style: styles.activityDescription,
|
|
118
|
+
children: "Track your earnings and revenue"
|
|
119
|
+
})]
|
|
120
|
+
})]
|
|
121
|
+
})]
|
|
122
|
+
})]
|
|
123
|
+
})]
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
const styles = StyleSheet.create({
|
|
127
|
+
container: {
|
|
128
|
+
flex: 1,
|
|
129
|
+
backgroundColor: '#f5f5f5'
|
|
130
|
+
},
|
|
131
|
+
header: {
|
|
132
|
+
backgroundColor: '#fff',
|
|
133
|
+
padding: 16,
|
|
134
|
+
borderBottomWidth: 1,
|
|
135
|
+
borderBottomColor: '#e0e0e0'
|
|
136
|
+
},
|
|
137
|
+
headerTitle: {
|
|
138
|
+
fontSize: 20,
|
|
139
|
+
fontWeight: '600',
|
|
140
|
+
color: '#333',
|
|
141
|
+
textAlign: 'center'
|
|
142
|
+
},
|
|
143
|
+
scrollView: {
|
|
144
|
+
flex: 1
|
|
145
|
+
},
|
|
146
|
+
statsGrid: {
|
|
147
|
+
flexDirection: 'row',
|
|
148
|
+
flexWrap: 'wrap',
|
|
149
|
+
padding: 8,
|
|
150
|
+
justifyContent: 'space-between'
|
|
151
|
+
},
|
|
152
|
+
statCard: {
|
|
153
|
+
width: '48%',
|
|
154
|
+
padding: 20,
|
|
155
|
+
borderRadius: 12,
|
|
156
|
+
alignItems: 'center',
|
|
157
|
+
marginBottom: 16
|
|
158
|
+
},
|
|
159
|
+
statIcon: {
|
|
160
|
+
fontSize: 32,
|
|
161
|
+
marginBottom: 8
|
|
162
|
+
},
|
|
163
|
+
statValue: {
|
|
164
|
+
fontSize: 24,
|
|
165
|
+
fontWeight: '700',
|
|
166
|
+
color: '#333',
|
|
167
|
+
marginBottom: 4
|
|
168
|
+
},
|
|
169
|
+
statTitle: {
|
|
170
|
+
fontSize: 12,
|
|
171
|
+
color: '#666',
|
|
172
|
+
textAlign: 'center'
|
|
173
|
+
},
|
|
174
|
+
section: {
|
|
175
|
+
padding: 16
|
|
176
|
+
},
|
|
177
|
+
sectionTitle: {
|
|
178
|
+
fontSize: 18,
|
|
179
|
+
fontWeight: '600',
|
|
180
|
+
color: '#333',
|
|
181
|
+
marginBottom: 16
|
|
182
|
+
},
|
|
183
|
+
activityItem: {
|
|
184
|
+
backgroundColor: '#fff',
|
|
185
|
+
flexDirection: 'row',
|
|
186
|
+
padding: 16,
|
|
187
|
+
borderRadius: 12,
|
|
188
|
+
marginBottom: 12,
|
|
189
|
+
alignItems: 'center'
|
|
190
|
+
},
|
|
191
|
+
activityIcon: {
|
|
192
|
+
width: 48,
|
|
193
|
+
height: 48,
|
|
194
|
+
borderRadius: 24,
|
|
195
|
+
backgroundColor: '#f5f5f5',
|
|
196
|
+
justifyContent: 'center',
|
|
197
|
+
alignItems: 'center',
|
|
198
|
+
marginRight: 16
|
|
199
|
+
},
|
|
200
|
+
activityIconText: {
|
|
201
|
+
fontSize: 24
|
|
202
|
+
},
|
|
203
|
+
activityContent: {
|
|
204
|
+
flex: 1
|
|
205
|
+
},
|
|
206
|
+
activityTitle: {
|
|
207
|
+
fontSize: 16,
|
|
208
|
+
fontWeight: '600',
|
|
209
|
+
color: '#333',
|
|
210
|
+
marginBottom: 4
|
|
211
|
+
},
|
|
212
|
+
activityDescription: {
|
|
213
|
+
fontSize: 14,
|
|
214
|
+
color: '#666'
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
//# sourceMappingURL=ReportsScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","SafeAreaView","ScrollView","TouchableOpacity","jsx","_jsx","jsxs","_jsxs","StatCard","title","value","icon","color","style","styles","statCard","backgroundColor","children","statIcon","statValue","statTitle","ReportsScreen","container","header","headerTitle","scrollView","statsGrid","section","sectionTitle","activityItem","activityIcon","activityIconText","activityContent","activityTitle","activityDescription","create","flex","padding","borderBottomWidth","borderBottomColor","fontSize","fontWeight","textAlign","flexDirection","flexWrap","justifyContent","width","borderRadius","alignItems","marginBottom","height","marginRight"],"sourceRoot":"../../../src","sources":["screens/ReportsScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,gBAAgB,QACX,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAStB,MAAMC,QAAiC,GAAGA,CAAC;EAAEC,KAAK;EAAEC,KAAK;EAAEC,IAAI;EAAEC;AAAM,CAAC,KAAK;EAC3E,oBACEL,KAAA,CAACT,IAAI;IAACe,KAAK,EAAE,CAACC,MAAM,CAACC,QAAQ,EAAE;MAAEC,eAAe,EAAEJ;IAAM,CAAC,CAAE;IAAAK,QAAA,gBACzDZ,IAAA,CAACN,IAAI;MAACc,KAAK,EAAEC,MAAM,CAACI,QAAS;MAAAD,QAAA,EAAEN;IAAI,CAAO,CAAC,eAC3CN,IAAA,CAACN,IAAI;MAACc,KAAK,EAAEC,MAAM,CAACK,SAAU;MAAAF,QAAA,EAAEP;IAAK,CAAO,CAAC,eAC7CL,IAAA,CAACN,IAAI;MAACc,KAAK,EAAEC,MAAM,CAACM,S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,EAAE;EAChB,CAAC;EACDf,mBAAmB,EAAE;IACnBM,QAAQ,EAAE,EAAE;IACZ5B,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
export declare function multiply(a: number, b: number): number;
|
|
2
|
+
export { default as AppNavigator } from './navigation/AppNavigator';
|
|
3
|
+
export { default as DrawerNavigator } from './navigation/DrawerNavigator';
|
|
4
|
+
export { default as BottomTabNavigator } from './navigation/BottomTabNavigator';
|
|
2
5
|
export { default as HomeScreen } from './screens/HomeScreen';
|
|
6
|
+
export { default as ProfileScreen } from './screens/ProfileScreen';
|
|
7
|
+
export { default as NotificationsScreen } from './screens/NotificationsScreen';
|
|
8
|
+
export { default as ReportsScreen } from './screens/ReportsScreen';
|
|
9
|
+
export { default as PremiumScreen } from './screens/PremiumScreen';
|
|
3
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD;AAGD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErD;AAGD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAGhF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigation/AppNavigator.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAMnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomTabNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigation/BottomTabNavigator.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAsDzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigation/DrawerNavigator.tsx"],"names":[],"mappings":"AA4IA,MAAM,CAAC,OAAO,UAAU,eAAe,4CAgCtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/HomeScreen.tsx"],"names":[],"mappings":"AA4BA,MAAM,CAAC,OAAO,UAAU,UAAU,
|
|
1
|
+
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/HomeScreen.tsx"],"names":[],"mappings":"AA4BA,MAAM,CAAC,OAAO,UAAU,UAAU,4CAgEjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/NotificationsScreen.tsx"],"names":[],"mappings":"AAqCA,MAAM,CAAC,OAAO,UAAU,mBAAmB,4CAqC1C"}
|