react-native-salespanda 0.3.0 → 0.4.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/Salespanda.podspec +4 -0
- package/android/build.gradle +2 -0
- package/lib/module/SalespandaApp.js +22 -8
- package/lib/module/SalespandaApp.js.map +1 -1
- package/lib/module/assets/images/bottomtabs/analytics.png +0 -0
- package/lib/module/assets/images/bottomtabs/analyticsactive.png +0 -0
- package/lib/module/assets/images/bottomtabs/crm.png +0 -0
- package/lib/module/assets/images/bottomtabs/crmactive.png +0 -0
- package/lib/module/assets/images/bottomtabs/diary.png +0 -0
- package/lib/module/assets/images/bottomtabs/diaryactive.png +0 -0
- package/lib/module/assets/images/bottomtabs/home.png +0 -0
- package/lib/module/assets/images/bottomtabs/homeactive.png +0 -0
- package/lib/module/assets/images/bottomtabs/notification.png +0 -0
- package/lib/module/assets/images/bottomtabs/notificationactive.png +0 -0
- package/lib/module/assets/images/index.js +35 -0
- package/lib/module/assets/images/index.js.map +1 -0
- package/lib/module/constants/Colors.js +17 -0
- package/lib/module/constants/Colors.js.map +1 -0
- package/lib/module/constants/GetPlatorm.js +23 -0
- package/lib/module/constants/GetPlatorm.js.map +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/AppNavigator.js +3 -1
- package/lib/module/navigation/AppNavigator.js.map +1 -1
- package/lib/module/navigation/BottomTabNavigator.js +71 -53
- package/lib/module/navigation/BottomTabNavigator.js.map +1 -1
- package/lib/module/navigation/DrawerNavigator.js +210 -129
- package/lib/module/navigation/DrawerNavigator.js.map +1 -1
- package/lib/module/screens/CRMScreen.js +41 -0
- package/lib/module/screens/CRMScreen.js.map +1 -0
- package/lib/module/screens/HomeScreen.js +82 -88
- package/lib/module/screens/HomeScreen.js.map +1 -1
- package/lib/module/screens/NotificationsScreen.js +11 -97
- package/lib/module/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/screens/ProfileScreen.js +13 -119
- package/lib/module/screens/ProfileScreen.js.map +1 -1
- package/lib/module/screens/ReportsScreen.js +11 -187
- package/lib/module/screens/ReportsScreen.js.map +1 -1
- package/lib/typescript/src/SalespandaApp.d.ts +1 -1
- package/lib/typescript/src/SalespandaApp.d.ts.map +1 -1
- package/lib/typescript/src/assets/images/index.d.ts +17 -0
- package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/Colors.d.ts +15 -0
- package/lib/typescript/src/constants/Colors.d.ts.map +1 -0
- package/lib/typescript/src/constants/GetPlatorm.d.ts +11 -0
- package/lib/typescript/src/constants/GetPlatorm.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigation/AppNavigator.d.ts.map +1 -1
- package/lib/typescript/src/navigation/BottomTabNavigator.d.ts.map +1 -1
- package/lib/typescript/src/navigation/DrawerNavigator.d.ts.map +1 -1
- package/lib/typescript/src/screens/CRMScreen.d.ts +2 -0
- package/lib/typescript/src/screens/CRMScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/HomeScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/ReportsScreen.d.ts +1 -1
- package/lib/typescript/src/screens/ReportsScreen.d.ts.map +1 -1
- package/package.json +3 -1
- package/react-native.config.js +9 -0
- package/src/SalespandaApp.tsx +28 -8
- package/src/assets/images/bottomtabs/analytics.png +0 -0
- package/src/assets/images/bottomtabs/analyticsactive.png +0 -0
- package/src/assets/images/bottomtabs/crm.png +0 -0
- package/src/assets/images/bottomtabs/crmactive.png +0 -0
- package/src/assets/images/bottomtabs/diary.png +0 -0
- package/src/assets/images/bottomtabs/diaryactive.png +0 -0
- package/src/assets/images/bottomtabs/home.png +0 -0
- package/src/assets/images/bottomtabs/homeactive.png +0 -0
- package/src/assets/images/bottomtabs/notification.png +0 -0
- package/src/assets/images/bottomtabs/notificationactive.png +0 -0
- package/src/assets/images/index.js +11 -0
- package/src/assets/images/index.ts +40 -0
- package/src/constants/Colors.ts +16 -0
- package/src/constants/GetPlatorm.ts +29 -0
- package/src/index.tsx +1 -1
- package/src/navigation/AppNavigator.tsx +5 -1
- package/src/navigation/BottomTabNavigator.tsx +79 -24
- package/src/navigation/DrawerNavigator.tsx +176 -127
- package/src/screens/CRMScreen.tsx +34 -0
- package/src/screens/HomeScreen.tsx +94 -81
- package/src/screens/NotificationsScreen.tsx +9 -110
- package/src/screens/ProfileScreen.tsx +10 -97
- package/src/screens/ReportsScreen.tsx +9 -166
- package/lib/module/screens/PremiumScreen.js +0 -222
- package/lib/module/screens/PremiumScreen.js.map +0 -1
- package/lib/typescript/src/screens/PremiumScreen.d.ts +0 -2
- package/lib/typescript/src/screens/PremiumScreen.d.ts.map +0 -1
- package/src/screens/PremiumScreen.tsx +0 -250
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { View, Text, StyleSheet, TouchableOpacity, ScrollView } from 'react-native';
|
|
4
|
+
import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Image, FlatList, Dimensions } from 'react-native';
|
|
5
|
+
import { Colors } from "../constants/Colors.js";
|
|
5
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
7
|
const MenuItem = ({
|
|
7
8
|
title,
|
|
@@ -24,40 +25,66 @@ const MenuItem = ({
|
|
|
24
25
|
});
|
|
25
26
|
};
|
|
26
27
|
export default function HomeScreen() {
|
|
28
|
+
const images = ['https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1200&auto=format&fit=crop', 'https://images.unsplash.com/photo-1482192596544-9eb780fc7f66?q=80&w=1200&auto=format&fit=crop', 'https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1200&auto=format&fit=crop', 'https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=1200&auto=format&fit=crop', 'https://images.unsplash.com/photo-1460353581641-37baddab0fa2?q=80&w=1200&auto=format&fit=crop', 'https://images.unsplash.com/photo-1496302662116-35cc4f36df92?q=80&w=1200&auto=format&fit=crop'];
|
|
29
|
+
const screenWidth = Dimensions.get('window').width;
|
|
30
|
+
const [activeIndex, setActiveIndex] = React.useState(0);
|
|
31
|
+
const flatListRef = React.useRef(null);
|
|
32
|
+
const handleMomentumScrollEnd = e => {
|
|
33
|
+
const offsetX = e.nativeEvent.contentOffset.x;
|
|
34
|
+
const index = Math.round(offsetX / screenWidth);
|
|
35
|
+
setActiveIndex(index);
|
|
36
|
+
};
|
|
37
|
+
React.useEffect(() => {
|
|
38
|
+
const id = setInterval(() => {
|
|
39
|
+
setActiveIndex(prev => {
|
|
40
|
+
const next = (prev + 1) % images.length;
|
|
41
|
+
if (flatListRef.current) {
|
|
42
|
+
try {
|
|
43
|
+
flatListRef.current.scrollToIndex({
|
|
44
|
+
index: next,
|
|
45
|
+
animated: true
|
|
46
|
+
});
|
|
47
|
+
} catch {
|
|
48
|
+
// ignore scroll failures
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return next;
|
|
52
|
+
});
|
|
53
|
+
}, 2500);
|
|
54
|
+
return () => clearInterval(id);
|
|
55
|
+
}, [images.length]);
|
|
27
56
|
return /*#__PURE__*/_jsxs(ScrollView, {
|
|
28
57
|
style: styles.scrollView,
|
|
29
58
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
30
|
-
style: styles.
|
|
31
|
-
children: [/*#__PURE__*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
59
|
+
style: styles.carouselContainer,
|
|
60
|
+
children: [/*#__PURE__*/_jsx(FlatList, {
|
|
61
|
+
ref: flatListRef,
|
|
62
|
+
data: images,
|
|
63
|
+
keyExtractor: (_, idx) => `${idx}`,
|
|
64
|
+
renderItem: ({
|
|
65
|
+
item
|
|
66
|
+
}) => /*#__PURE__*/_jsx(Image, {
|
|
67
|
+
source: {
|
|
68
|
+
uri: item
|
|
69
|
+
},
|
|
70
|
+
style: [styles.carouselImage, {
|
|
71
|
+
width: screenWidth
|
|
72
|
+
}]
|
|
73
|
+
}),
|
|
74
|
+
horizontal: true,
|
|
75
|
+
pagingEnabled: true,
|
|
76
|
+
showsHorizontalScrollIndicator: false,
|
|
77
|
+
onMomentumScrollEnd: handleMomentumScrollEnd,
|
|
78
|
+
getItemLayout: (_, index) => ({
|
|
79
|
+
length: screenWidth,
|
|
80
|
+
offset: screenWidth * index,
|
|
81
|
+
index
|
|
51
82
|
})
|
|
52
|
-
})]
|
|
53
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
54
|
-
style: styles.carouselIndicators,
|
|
55
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
56
|
-
style: [styles.indicator, styles.activeIndicator]
|
|
57
83
|
}), /*#__PURE__*/_jsx(View, {
|
|
58
|
-
style: styles.
|
|
59
|
-
|
|
60
|
-
|
|
84
|
+
style: styles.carouselIndicatorsOverlay,
|
|
85
|
+
children: images.map((_, idx) => /*#__PURE__*/_jsx(View, {
|
|
86
|
+
style: [styles.indicator, idx === activeIndex ? styles.activeIndicator : null]
|
|
87
|
+
}, idx))
|
|
61
88
|
})]
|
|
62
89
|
}), /*#__PURE__*/_jsxs(View, {
|
|
63
90
|
style: styles.menuGrid,
|
|
@@ -103,70 +130,37 @@ export default function HomeScreen() {
|
|
|
103
130
|
}
|
|
104
131
|
const styles = StyleSheet.create({
|
|
105
132
|
scrollView: {
|
|
106
|
-
flex: 1
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
133
|
+
flex: 1,
|
|
134
|
+
backgroundColor: Colors.white
|
|
135
|
+
},
|
|
136
|
+
carouselContainer: {
|
|
137
|
+
width: '100%',
|
|
138
|
+
backgroundColor: Colors.white,
|
|
139
|
+
// subtle backplate for image load
|
|
140
|
+
position: 'relative'
|
|
141
|
+
},
|
|
142
|
+
carouselImage: {
|
|
143
|
+
height: 200,
|
|
144
|
+
resizeMode: 'cover'
|
|
145
|
+
},
|
|
146
|
+
carouselIndicatorsOverlay: {
|
|
147
|
+
position: 'absolute',
|
|
148
|
+
left: 0,
|
|
149
|
+
right: 0,
|
|
150
|
+
bottom: 12,
|
|
113
151
|
flexDirection: 'row',
|
|
114
|
-
justifyContent: 'space-between',
|
|
115
|
-
alignItems: 'center',
|
|
116
|
-
minHeight: 180
|
|
117
|
-
},
|
|
118
|
-
bannerContent: {
|
|
119
|
-
flex: 1
|
|
120
|
-
},
|
|
121
|
-
bannerText: {
|
|
122
|
-
color: '#fff',
|
|
123
|
-
fontSize: 14,
|
|
124
|
-
lineHeight: 20,
|
|
125
|
-
marginBottom: 16
|
|
126
|
-
},
|
|
127
|
-
startButton: {
|
|
128
|
-
backgroundColor: 'transparent',
|
|
129
|
-
borderWidth: 1,
|
|
130
|
-
borderColor: '#fff',
|
|
131
|
-
borderRadius: 20,
|
|
132
|
-
paddingVertical: 8,
|
|
133
|
-
paddingHorizontal: 16,
|
|
134
|
-
alignSelf: 'flex-start'
|
|
135
|
-
},
|
|
136
|
-
startButtonText: {
|
|
137
|
-
color: '#fff',
|
|
138
|
-
fontSize: 12,
|
|
139
|
-
fontWeight: '600'
|
|
140
|
-
},
|
|
141
|
-
whatsappIconContainer: {
|
|
142
|
-
marginLeft: 16
|
|
143
|
-
},
|
|
144
|
-
whatsappIcon: {
|
|
145
|
-
width: 80,
|
|
146
|
-
height: 80,
|
|
147
|
-
borderRadius: 40,
|
|
148
|
-
backgroundColor: '#25D366',
|
|
149
152
|
justifyContent: 'center',
|
|
150
153
|
alignItems: 'center'
|
|
151
154
|
},
|
|
152
|
-
whatsappText: {
|
|
153
|
-
fontSize: 40
|
|
154
|
-
},
|
|
155
|
-
carouselIndicators: {
|
|
156
|
-
flexDirection: 'row',
|
|
157
|
-
justifyContent: 'center',
|
|
158
|
-
alignItems: 'center',
|
|
159
|
-
marginVertical: 16
|
|
160
|
-
},
|
|
161
155
|
indicator: {
|
|
162
156
|
width: 8,
|
|
163
157
|
height: 8,
|
|
164
158
|
borderRadius: 4,
|
|
165
|
-
backgroundColor:
|
|
159
|
+
backgroundColor: Colors.divider,
|
|
166
160
|
marginHorizontal: 4
|
|
167
161
|
},
|
|
168
162
|
activeIndicator: {
|
|
169
|
-
backgroundColor:
|
|
163
|
+
backgroundColor: Colors.white,
|
|
170
164
|
width: 24
|
|
171
165
|
},
|
|
172
166
|
menuGrid: {
|
|
@@ -178,13 +172,13 @@ const styles = StyleSheet.create({
|
|
|
178
172
|
menuItem: {
|
|
179
173
|
width: '31%',
|
|
180
174
|
aspectRatio: 1,
|
|
181
|
-
backgroundColor:
|
|
175
|
+
backgroundColor: Colors.white,
|
|
182
176
|
borderRadius: 16,
|
|
183
177
|
padding: 12,
|
|
184
178
|
marginBottom: 12,
|
|
185
179
|
alignItems: 'center',
|
|
186
180
|
justifyContent: 'center',
|
|
187
|
-
shadowColor:
|
|
181
|
+
shadowColor: Colors.black,
|
|
188
182
|
shadowOffset: {
|
|
189
183
|
width: 0,
|
|
190
184
|
height: 2
|
|
@@ -193,13 +187,13 @@ const styles = StyleSheet.create({
|
|
|
193
187
|
shadowRadius: 4,
|
|
194
188
|
elevation: 3,
|
|
195
189
|
borderWidth: 1,
|
|
196
|
-
borderColor:
|
|
190
|
+
borderColor: Colors.border
|
|
197
191
|
},
|
|
198
192
|
iconContainer: {
|
|
199
193
|
width: 50,
|
|
200
194
|
height: 50,
|
|
201
195
|
borderRadius: 25,
|
|
202
|
-
backgroundColor:
|
|
196
|
+
backgroundColor: Colors.divider,
|
|
203
197
|
justifyContent: 'center',
|
|
204
198
|
alignItems: 'center',
|
|
205
199
|
marginBottom: 8
|
|
@@ -210,7 +204,7 @@ const styles = StyleSheet.create({
|
|
|
210
204
|
menuItemText: {
|
|
211
205
|
fontSize: 11,
|
|
212
206
|
textAlign: 'center',
|
|
213
|
-
color:
|
|
207
|
+
color: Colors.black,
|
|
214
208
|
fontWeight: '500'
|
|
215
209
|
}
|
|
216
210
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","StyleSheet","TouchableOpacity","ScrollView","jsx","_jsx","jsxs","_jsxs","MenuItem","title","icon","onPress","style","styles","menuItem","children","iconContainer","iconText","menuItemText","HomeScreen","
|
|
1
|
+
{"version":3,"names":["React","View","Text","StyleSheet","TouchableOpacity","ScrollView","Image","FlatList","Dimensions","Colors","jsx","_jsx","jsxs","_jsxs","MenuItem","title","icon","onPress","style","styles","menuItem","children","iconContainer","iconText","menuItemText","HomeScreen","images","screenWidth","get","width","activeIndex","setActiveIndex","useState","flatListRef","useRef","handleMomentumScrollEnd","e","offsetX","nativeEvent","contentOffset","x","index","Math","round","useEffect","id","setInterval","prev","next","length","current","scrollToIndex","animated","clearInterval","scrollView","carouselContainer","ref","data","keyExtractor","_","idx","renderItem","item","source","uri","carouselImage","horizontal","pagingEnabled","showsHorizontalScrollIndicator","onMomentumScrollEnd","getItemLayout","offset","carouselIndicatorsOverlay","map","indicator","activeIndicator","menuGrid","create","flex","backgroundColor","white","position","height","resizeMode","left","right","bottom","flexDirection","justifyContent","alignItems","borderRadius","divider","marginHorizontal","flexWrap","padding","aspectRatio","marginBottom","shadowColor","black","shadowOffset","shadowOpacity","shadowRadius","elevation","borderWidth","borderColor","border","fontSize","textAlign","color","fontWeight"],"sourceRoot":"../../../src","sources":["screens/HomeScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,IAAI,EACJC,UAAU,EACVC,gBAA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|
|
4
|
-
import {
|
|
3
|
+
import { View, Text, StyleSheet, ScrollView } from 'react-native';
|
|
4
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
5
|
+
import { Colors } from "../constants/Colors.js";
|
|
5
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
const NotificationItem = ({
|
|
7
|
-
title,
|
|
8
|
-
message,
|
|
9
|
-
time,
|
|
10
|
-
unread = false
|
|
11
|
-
}) => {
|
|
12
|
-
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
13
|
-
style: [styles.notificationItem, unread && styles.unreadItem],
|
|
14
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
15
|
-
style: styles.notificationContent,
|
|
16
|
-
children: [/*#__PURE__*/_jsx(Text, {
|
|
17
|
-
style: styles.notificationTitle,
|
|
18
|
-
children: title
|
|
19
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
20
|
-
style: styles.notificationMessage,
|
|
21
|
-
children: message
|
|
22
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
23
|
-
style: styles.notificationTime,
|
|
24
|
-
children: time
|
|
25
|
-
})]
|
|
26
|
-
}), unread && /*#__PURE__*/_jsx(View, {
|
|
27
|
-
style: styles.unreadDot
|
|
28
|
-
})]
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
7
|
export default function NotificationsScreen() {
|
|
32
8
|
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
33
9
|
style: styles.container,
|
|
10
|
+
edges: ['bottom'],
|
|
34
11
|
children: [/*#__PURE__*/_jsx(View, {
|
|
35
12
|
style: styles.header,
|
|
36
13
|
children: /*#__PURE__*/_jsx(Text, {
|
|
37
14
|
style: styles.headerTitle,
|
|
38
|
-
children: "
|
|
15
|
+
children: "Notification"
|
|
39
16
|
})
|
|
40
|
-
}), /*#__PURE__*/
|
|
41
|
-
style: styles.scrollView
|
|
42
|
-
children: [/*#__PURE__*/_jsx(NotificationItem, {
|
|
43
|
-
title: "New Message",
|
|
44
|
-
message: "You have a new message from support team",
|
|
45
|
-
time: "2 minutes ago",
|
|
46
|
-
unread: true
|
|
47
|
-
}), /*#__PURE__*/_jsx(NotificationItem, {
|
|
48
|
-
title: "Update Available",
|
|
49
|
-
message: "A new version of the app is available",
|
|
50
|
-
time: "1 hour ago",
|
|
51
|
-
unread: true
|
|
52
|
-
}), /*#__PURE__*/_jsx(NotificationItem, {
|
|
53
|
-
title: "Campaign Success",
|
|
54
|
-
message: "Your email campaign has been sent successfully",
|
|
55
|
-
time: "3 hours ago"
|
|
56
|
-
}), /*#__PURE__*/_jsx(NotificationItem, {
|
|
57
|
-
title: "Reminder",
|
|
58
|
-
message: "Don't forget to check your proposals",
|
|
59
|
-
time: "Yesterday"
|
|
60
|
-
}), /*#__PURE__*/_jsx(NotificationItem, {
|
|
61
|
-
title: "Welcome",
|
|
62
|
-
message: "Welcome to Salespanda! Get started with your first campaign",
|
|
63
|
-
time: "2 days ago"
|
|
64
|
-
})]
|
|
17
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
18
|
+
style: styles.scrollView
|
|
65
19
|
})]
|
|
66
20
|
});
|
|
67
21
|
}
|
|
68
22
|
const styles = StyleSheet.create({
|
|
69
23
|
container: {
|
|
70
24
|
flex: 1,
|
|
71
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: Colors.background
|
|
72
26
|
},
|
|
73
27
|
header: {
|
|
74
|
-
backgroundColor:
|
|
75
|
-
padding: 16
|
|
76
|
-
borderBottomWidth: 1,
|
|
77
|
-
borderBottomColor: '#e0e0e0'
|
|
28
|
+
backgroundColor: Colors.white,
|
|
29
|
+
padding: 16
|
|
78
30
|
},
|
|
79
31
|
headerTitle: {
|
|
80
32
|
fontSize: 20,
|
|
81
33
|
fontWeight: '600',
|
|
82
|
-
color:
|
|
34
|
+
color: Colors.black,
|
|
83
35
|
textAlign: 'center'
|
|
84
36
|
},
|
|
85
37
|
scrollView: {
|
|
86
38
|
flex: 1
|
|
87
|
-
},
|
|
88
|
-
notificationItem: {
|
|
89
|
-
backgroundColor: '#fff',
|
|
90
|
-
padding: 16,
|
|
91
|
-
marginHorizontal: 16,
|
|
92
|
-
marginTop: 16,
|
|
93
|
-
borderRadius: 12,
|
|
94
|
-
flexDirection: 'row',
|
|
95
|
-
justifyContent: 'space-between',
|
|
96
|
-
alignItems: 'center'
|
|
97
|
-
},
|
|
98
|
-
unreadItem: {
|
|
99
|
-
backgroundColor: '#f0f4ff'
|
|
100
|
-
},
|
|
101
|
-
notificationContent: {
|
|
102
|
-
flex: 1
|
|
103
|
-
},
|
|
104
|
-
notificationTitle: {
|
|
105
|
-
fontSize: 16,
|
|
106
|
-
fontWeight: '600',
|
|
107
|
-
color: '#333',
|
|
108
|
-
marginBottom: 4
|
|
109
|
-
},
|
|
110
|
-
notificationMessage: {
|
|
111
|
-
fontSize: 14,
|
|
112
|
-
color: '#666',
|
|
113
|
-
marginBottom: 8
|
|
114
|
-
},
|
|
115
|
-
notificationTime: {
|
|
116
|
-
fontSize: 12,
|
|
117
|
-
color: '#999'
|
|
118
|
-
},
|
|
119
|
-
unreadDot: {
|
|
120
|
-
width: 10,
|
|
121
|
-
height: 10,
|
|
122
|
-
borderRadius: 5,
|
|
123
|
-
backgroundColor: '#4a148c',
|
|
124
|
-
marginLeft: 12
|
|
125
39
|
}
|
|
126
40
|
});
|
|
127
41
|
//# sourceMappingURL=NotificationsScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["View","Text","StyleSheet","ScrollView","SafeAreaView","Colors","jsx","_jsx","jsxs","_jsxs","NotificationsScreen","style","styles","container","edges","children","header","headerTitle","scrollView","create","flex","backgroundColor","background","white","padding","fontSize","fontWeight","color","black","textAlign"],"sourceRoot":"../../../src","sources":["screens/NotificationsScreen.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AACjE,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,MAAM,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7C,eAAe,SAASC,mBAAmBA,CAAA,EAAG;EAC5C,oBACED,KAAA,CAACL,YAAY;IAACO,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACC,KAAK,EAAE,CAAC,QAAQ,CAAE;IAAAC,QAAA,gBACvDR,IAAA,CAACP,IAAI;MAACW,KAAK,EAAEC,MAAM,CAACI,MAAO;MAAAD,QAAA,eACzBR,IAAA,CAACN,IAAI;QAACU,KAAK,EAAEC,MAAM,CAACK,WAAY;QAAAF,QAAA,EAAC;MAAY,CAAM;IAAC,CAChD,CAAC,eACPR,IAAA,CAACJ,UAAU;MAACQ,KAAK,EAAEC,MAAM,CAACM;IAAW,CAAa,CAAC;EAAA,CACvC,CAAC;AAEnB;AAEA,MAAMN,MAAM,GAAGV,UAAU,CAACiB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEhB,MAAM,CAACiB;EAC1B,CAAC;EACDN,MAAM,EAAE;IACNK,eAAe,EAAEhB,MAAM,CAACkB,KAAK;IAC7BC,OAAO,EAAE;EACX,CAAC;EACDP,WAAW,EAAE;IACXQ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEtB,MAAM,CAACuB,KAAK;IACnBC,SAAS,EAAE;EACb,CAAC;EACDX,UAAU,EAAE;IACVE,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,147 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { View, Text, StyleSheet,
|
|
3
|
+
import { View, Text, StyleSheet, ScrollView } from 'react-native';
|
|
4
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
5
|
+
import { Colors } from "../constants/Colors.js";
|
|
4
6
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
7
|
export default function ProfileScreen() {
|
|
6
8
|
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
7
9
|
style: styles.container,
|
|
10
|
+
edges: ['bottom'],
|
|
8
11
|
children: [/*#__PURE__*/_jsx(View, {
|
|
9
12
|
style: styles.header,
|
|
10
13
|
children: /*#__PURE__*/_jsx(Text, {
|
|
11
14
|
style: styles.headerTitle,
|
|
12
|
-
children: "
|
|
15
|
+
children: "Anyaltics"
|
|
13
16
|
})
|
|
14
|
-
}), /*#__PURE__*/
|
|
15
|
-
style: styles.
|
|
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
|
-
})]
|
|
17
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
18
|
+
style: styles.scrollView
|
|
79
19
|
})]
|
|
80
20
|
});
|
|
81
21
|
}
|
|
82
22
|
const styles = StyleSheet.create({
|
|
83
23
|
container: {
|
|
84
24
|
flex: 1,
|
|
85
|
-
backgroundColor:
|
|
25
|
+
backgroundColor: Colors.background
|
|
86
26
|
},
|
|
87
27
|
header: {
|
|
88
|
-
backgroundColor:
|
|
89
|
-
padding: 16
|
|
90
|
-
borderBottomWidth: 1,
|
|
91
|
-
borderBottomColor: '#e0e0e0'
|
|
28
|
+
backgroundColor: Colors.white,
|
|
29
|
+
padding: 16
|
|
92
30
|
},
|
|
93
31
|
headerTitle: {
|
|
94
32
|
fontSize: 20,
|
|
95
33
|
fontWeight: '600',
|
|
96
|
-
color:
|
|
34
|
+
color: Colors.black,
|
|
97
35
|
textAlign: 'center'
|
|
98
36
|
},
|
|
99
|
-
|
|
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'
|
|
37
|
+
scrollView: {
|
|
38
|
+
flex: 1
|
|
145
39
|
}
|
|
146
40
|
});
|
|
147
41
|
//# sourceMappingURL=ProfileScreen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Text","StyleSheet","
|
|
1
|
+
{"version":3,"names":["View","Text","StyleSheet","ScrollView","SafeAreaView","Colors","jsx","_jsx","jsxs","_jsxs","ProfileScreen","style","styles","container","edges","children","header","headerTitle","scrollView","create","flex","backgroundColor","background","white","padding","fontSize","fontWeight","color","black","textAlign"],"sourceRoot":"../../../src","sources":["screens/ProfileScreen.tsx"],"mappings":";;AAAA,SAASA,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,UAAU,QAAQ,cAAc;AACjE,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,MAAM,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7C,eAAe,SAASC,aAAaA,CAAA,EAAG;EACtC,oBACED,KAAA,CAACL,YAAY;IAACO,KAAK,EAAEC,MAAM,CAACC,SAAU;IAACC,KAAK,EAAE,CAAC,QAAQ,CAAE;IAAAC,QAAA,gBACvDR,IAAA,CAACP,IAAI;MAACW,KAAK,EAAEC,MAAM,CAACI,MAAO;MAAAD,QAAA,eACzBR,IAAA,CAACN,IAAI;QAACU,KAAK,EAAEC,MAAM,CAACK,WAAY;QAAAF,QAAA,EAAC;MAAS,CAAM;IAAC,CAC7C,CAAC,eACPR,IAAA,CAACJ,UAAU;MAACQ,KAAK,EAAEC,MAAM,CAACM;IAAW,CAAa,CAAC;EAAA,CACvC,CAAC;AAEnB;AAEA,MAAMN,MAAM,GAAGV,UAAU,CAACiB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEhB,MAAM,CAACiB;EAC1B,CAAC;EACDN,MAAM,EAAE;IACNK,eAAe,EAAEhB,MAAM,CAACkB,KAAK;IAC7BC,OAAO,EAAE;EACX,CAAC;EACDP,WAAW,EAAE;IACXQ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEtB,MAAM,CAACuB,KAAK;IACnBC,SAAS,EAAE;EACb,CAAC;EACDX,UAAU,EAAE;IACVE,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|