react-native-salespanda 0.4.2 → 0.4.3
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/SalespandaApp.js +11 -37
- package/lib/module/SalespandaApp.js.map +1 -1
- package/lib/module/components/BottomSheet.js +141 -0
- package/lib/module/components/BottomSheet.js.map +1 -0
- package/lib/module/components/ContactViaModal.js +68 -0
- package/lib/module/components/ContactViaModal.js.map +1 -0
- package/lib/module/components/ScreenHeader.js +63 -0
- package/lib/module/components/ScreenHeader.js.map +1 -0
- package/lib/module/components/SearchBar.js +57 -0
- package/lib/module/components/SearchBar.js.map +1 -0
- package/lib/module/components/TabsHeader.js +80 -0
- package/lib/module/components/TabsHeader.js.map +1 -0
- package/lib/module/components/index.js +8 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/constants/Colors.js +3 -2
- package/lib/module/constants/Colors.js.map +1 -1
- package/lib/module/index.js +6 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/AppNavigator.js +5 -4
- package/lib/module/navigation/AppNavigator.js.map +1 -1
- package/lib/module/navigation/BottomTabNavigator.js +42 -23
- package/lib/module/navigation/BottomTabNavigator.js.map +1 -1
- package/lib/module/navigation/DrawerNavigator.js +36 -34
- package/lib/module/navigation/DrawerNavigator.js.map +1 -1
- package/lib/module/navigation/StackNavigator.js +23 -0
- package/lib/module/navigation/StackNavigator.js.map +1 -0
- package/lib/module/screens/CRM/AddContactModal.js +49 -0
- package/lib/module/screens/CRM/AddContactModal.js.map +1 -0
- package/lib/module/screens/CRM/CategoryTabs.js +70 -0
- package/lib/module/screens/CRM/CategoryTabs.js.map +1 -0
- package/lib/module/screens/CRM/ContactItem.js +168 -0
- package/lib/module/screens/CRM/ContactItem.js.map +1 -0
- package/lib/module/screens/CRM/FilterDropdown.js +39 -0
- package/lib/module/screens/CRM/FilterDropdown.js.map +1 -0
- package/lib/module/screens/CRM/FunnelChart.js +105 -0
- package/lib/module/screens/CRM/FunnelChart.js.map +1 -0
- package/lib/module/screens/CRM/InfoCard.js +56 -0
- package/lib/module/screens/CRM/InfoCard.js.map +1 -0
- package/lib/module/screens/CRM/LeadCard.js +76 -0
- package/lib/module/screens/CRM/LeadCard.js.map +1 -0
- package/lib/module/screens/CRM/LogCallScreen.js +271 -0
- package/lib/module/screens/CRM/LogCallScreen.js.map +1 -0
- package/lib/module/screens/CRM/TopTabs.js +63 -0
- package/lib/module/screens/CRM/TopTabs.js.map +1 -0
- package/lib/module/screens/CRM/index.js +13 -0
- package/lib/module/screens/CRM/index.js.map +1 -0
- package/lib/module/screens/ReportsScreen.js +6 -4
- package/lib/module/screens/ReportsScreen.js.map +1 -1
- package/lib/module/screens/Tabs/ActivityAnalytics.js +29 -0
- package/lib/module/screens/Tabs/ActivityAnalytics.js.map +1 -0
- package/lib/module/screens/Tabs/CRMScreen.js +316 -0
- package/lib/module/screens/Tabs/CRMScreen.js.map +1 -0
- package/lib/module/screens/Tabs/DigitalDiary.js +39 -0
- package/lib/module/screens/Tabs/DigitalDiary.js.map +1 -0
- package/lib/module/screens/Tabs/HomeScreen.js +240 -0
- package/lib/module/screens/Tabs/HomeScreen.js.map +1 -0
- package/lib/module/screens/Tabs/NotificationsScreen.js +29 -0
- package/lib/module/screens/Tabs/NotificationsScreen.js.map +1 -0
- package/lib/module/screens/contentliberary/contentliberary.js +283 -0
- package/lib/module/screens/contentliberary/contentliberary.js.map +1 -0
- package/lib/typescript/src/SalespandaApp.d.ts +2 -2
- package/lib/typescript/src/SalespandaApp.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet.d.ts +16 -0
- package/lib/typescript/src/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/ContactViaModal.d.ts +13 -0
- package/lib/typescript/src/components/ContactViaModal.d.ts.map +1 -0
- package/lib/typescript/src/components/ScreenHeader.d.ts +8 -0
- package/lib/typescript/src/components/ScreenHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/SearchBar.d.ts +8 -0
- package/lib/typescript/src/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/src/components/TabsHeader.d.ts +8 -0
- package/lib/typescript/src/components/TabsHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +5 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/Colors.d.ts +2 -1
- package/lib/typescript/src/constants/Colors.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +4 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigation/AppNavigator.d.ts +2 -1
- package/lib/typescript/src/navigation/AppNavigator.d.ts.map +1 -1
- package/lib/typescript/src/navigation/BottomTabNavigator.d.ts +9 -1
- package/lib/typescript/src/navigation/BottomTabNavigator.d.ts.map +1 -1
- package/lib/typescript/src/navigation/DrawerNavigator.d.ts +3 -1
- package/lib/typescript/src/navigation/DrawerNavigator.d.ts.map +1 -1
- package/lib/typescript/src/navigation/StackNavigator.d.ts +13 -0
- package/lib/typescript/src/navigation/StackNavigator.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/AddContactModal.d.ts +11 -0
- package/lib/typescript/src/screens/CRM/AddContactModal.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/CategoryTabs.d.ts +7 -0
- package/lib/typescript/src/screens/CRM/CategoryTabs.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/ContactItem.d.ts +19 -0
- package/lib/typescript/src/screens/CRM/ContactItem.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/FilterDropdown.d.ts +6 -0
- package/lib/typescript/src/screens/CRM/FilterDropdown.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/FunnelChart.d.ts +17 -0
- package/lib/typescript/src/screens/CRM/FunnelChart.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/InfoCard.d.ts +7 -0
- package/lib/typescript/src/screens/CRM/InfoCard.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/LeadCard.d.ts +9 -0
- package/lib/typescript/src/screens/CRM/LeadCard.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/LogCallScreen.d.ts +12 -0
- package/lib/typescript/src/screens/CRM/LogCallScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/TopTabs.d.ts +12 -0
- package/lib/typescript/src/screens/CRM/TopTabs.d.ts.map +1 -0
- package/lib/typescript/src/screens/CRM/index.d.ts +10 -0
- package/lib/typescript/src/screens/CRM/index.d.ts.map +1 -0
- package/lib/typescript/src/screens/ReportsScreen.d.ts +2 -1
- package/lib/typescript/src/screens/ReportsScreen.d.ts.map +1 -1
- package/lib/typescript/src/screens/Tabs/ActivityAnalytics.d.ts +3 -0
- package/lib/typescript/src/screens/Tabs/ActivityAnalytics.d.ts.map +1 -0
- package/lib/typescript/src/screens/Tabs/CRMScreen.d.ts +3 -0
- package/lib/typescript/src/screens/Tabs/CRMScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/Tabs/DigitalDiary.d.ts +3 -0
- package/lib/typescript/src/screens/Tabs/DigitalDiary.d.ts.map +1 -0
- package/lib/typescript/src/screens/Tabs/HomeScreen.d.ts +4 -0
- package/lib/typescript/src/screens/Tabs/HomeScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/Tabs/NotificationsScreen.d.ts +3 -0
- package/lib/typescript/src/screens/Tabs/NotificationsScreen.d.ts.map +1 -0
- package/lib/typescript/src/screens/contentliberary/contentliberary.d.ts +2 -0
- package/lib/typescript/src/screens/contentliberary/contentliberary.d.ts.map +1 -0
- package/package.json +5 -1
- package/src/SalespandaApp.tsx +12 -36
- package/src/components/BottomSheet.tsx +146 -0
- package/src/components/ContactViaModal.tsx +80 -0
- package/src/components/ScreenHeader.tsx +57 -0
- package/src/components/SearchBar.tsx +59 -0
- package/src/components/TabsHeader.tsx +72 -0
- package/src/components/index.ts +5 -0
- package/src/constants/Colors.ts +2 -1
- package/src/index.tsx +6 -4
- package/src/navigation/AppNavigator.tsx +6 -4
- package/src/navigation/BottomTabNavigator.tsx +51 -22
- package/src/navigation/DrawerNavigator.tsx +38 -33
- package/src/navigation/StackNavigator.tsx +32 -0
- package/src/screens/CRM/AddContactModal.tsx +57 -0
- package/src/screens/CRM/CategoryTabs.tsx +109 -0
- package/src/screens/CRM/ContactItem.tsx +168 -0
- package/src/screens/CRM/FilterDropdown.tsx +34 -0
- package/src/screens/CRM/FunnelChart.tsx +103 -0
- package/src/screens/CRM/InfoCard.tsx +51 -0
- package/src/screens/CRM/LeadCard.tsx +69 -0
- package/src/screens/CRM/LogCallScreen.tsx +318 -0
- package/src/screens/CRM/TopTabs.tsx +95 -0
- package/src/screens/CRM/index.ts +10 -0
- package/src/screens/ReportsScreen.tsx +7 -4
- package/src/screens/Tabs/ActivityAnalytics.tsx +25 -0
- package/src/screens/Tabs/CRMScreen.tsx +381 -0
- package/src/screens/Tabs/DigitalDiary.tsx +35 -0
- package/src/screens/Tabs/HomeScreen.tsx +223 -0
- package/src/screens/Tabs/NotificationsScreen.tsx +25 -0
- package/src/screens/contentliberary/contentliberary.tsx +268 -0
- package/lib/module/screens/CRMScreen.js +0 -41
- package/lib/module/screens/CRMScreen.js.map +0 -1
- package/lib/module/screens/HomeScreen.js +0 -211
- package/lib/module/screens/HomeScreen.js.map +0 -1
- package/lib/module/screens/NotificationsScreen.js +0 -41
- package/lib/module/screens/NotificationsScreen.js.map +0 -1
- package/lib/module/screens/ProfileScreen.js +0 -41
- package/lib/module/screens/ProfileScreen.js.map +0 -1
- package/lib/typescript/src/screens/CRMScreen.d.ts +0 -2
- package/lib/typescript/src/screens/CRMScreen.d.ts.map +0 -1
- package/lib/typescript/src/screens/HomeScreen.d.ts +0 -2
- package/lib/typescript/src/screens/HomeScreen.d.ts.map +0 -1
- package/lib/typescript/src/screens/NotificationsScreen.d.ts +0 -2
- package/lib/typescript/src/screens/NotificationsScreen.d.ts.map +0 -1
- package/lib/typescript/src/screens/ProfileScreen.d.ts +0 -2
- package/lib/typescript/src/screens/ProfileScreen.d.ts.map +0 -1
- package/src/screens/CRMScreen.tsx +0 -34
- package/src/screens/HomeScreen.tsx +0 -201
- package/src/screens/NotificationsScreen.tsx +0 -34
- package/src/screens/ProfileScreen.tsx +0 -34
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
View,
|
|
4
|
+
Text,
|
|
5
|
+
TouchableOpacity,
|
|
6
|
+
StyleSheet,
|
|
7
|
+
TextInput,
|
|
8
|
+
FlatList,
|
|
9
|
+
Image,
|
|
10
|
+
Dimensions,
|
|
11
|
+
ScrollView,
|
|
12
|
+
} from 'react-native';
|
|
13
|
+
import FeatherIcon from 'react-native-vector-icons/Feather';
|
|
14
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
15
|
+
|
|
16
|
+
const { width } = Dimensions.get('window');
|
|
17
|
+
const categories = [
|
|
18
|
+
'All',
|
|
19
|
+
'Co-Branded',
|
|
20
|
+
'Videos',
|
|
21
|
+
'Reel',
|
|
22
|
+
'Social',
|
|
23
|
+
'Brochure',
|
|
24
|
+
'Leaflet',
|
|
25
|
+
];
|
|
26
|
+
const greetingsData = [
|
|
27
|
+
{
|
|
28
|
+
id: '1',
|
|
29
|
+
title: 'Happy Diwali!',
|
|
30
|
+
tags: ['Video', 'Co-branded'],
|
|
31
|
+
image:
|
|
32
|
+
'https://img.freepik.com/premium-vector/poster-festival-lights-diwali_1287372-756.jpg?w=1060',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: '2',
|
|
36
|
+
title: 'Happy Diwali!',
|
|
37
|
+
tags: ['Video', 'Co-branded'],
|
|
38
|
+
image:
|
|
39
|
+
'https://img.freepik.com/premium-vector/poster-festival-lights-diwali_1287372-756.jpg?w=1060',
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
export default function DashboardScreen() {
|
|
43
|
+
const [selectedCat, setSelectedCat] = useState('All');
|
|
44
|
+
return (
|
|
45
|
+
<ScrollView style={styles.container} showsVerticalScrollIndicator={false}>
|
|
46
|
+
<SafeAreaView>
|
|
47
|
+
{/* Header */}
|
|
48
|
+
<View style={styles.headerRow}>
|
|
49
|
+
<TouchableOpacity>
|
|
50
|
+
<FeatherIcon name="arrow-left" size={24} color="#000" />
|
|
51
|
+
</TouchableOpacity>
|
|
52
|
+
<Text style={styles.headerTitle}>Content Library</Text>
|
|
53
|
+
<TouchableOpacity>
|
|
54
|
+
<FeatherIcon name="heart" size={24} color="#000" />
|
|
55
|
+
</TouchableOpacity>
|
|
56
|
+
</View>
|
|
57
|
+
{/* Search Bar */}
|
|
58
|
+
<View style={styles.searchBox}>
|
|
59
|
+
<FeatherIcon name="search" size={18} color="#999" />
|
|
60
|
+
<TextInput
|
|
61
|
+
placeholder="Search by content name, tags"
|
|
62
|
+
placeholderTextColor="#999"
|
|
63
|
+
style={styles.input}
|
|
64
|
+
/>
|
|
65
|
+
</View>
|
|
66
|
+
{/* Category Tabs */}
|
|
67
|
+
<View style={styles.categoryContainer}>
|
|
68
|
+
<ScrollView horizontal showsHorizontalScrollIndicator={false}>
|
|
69
|
+
{categories.map((cat, index) => {
|
|
70
|
+
const isActive = selectedCat === cat;
|
|
71
|
+
return (
|
|
72
|
+
<TouchableOpacity
|
|
73
|
+
key={index}
|
|
74
|
+
onPress={() => setSelectedCat(cat)}
|
|
75
|
+
style={styles.tabItem}
|
|
76
|
+
>
|
|
77
|
+
<Text
|
|
78
|
+
style={[styles.tabText, isActive && styles.activeTabText]}
|
|
79
|
+
>
|
|
80
|
+
{cat}
|
|
81
|
+
</Text>
|
|
82
|
+
{/* Yellow bottom line */}
|
|
83
|
+
{isActive ? (
|
|
84
|
+
<View style={styles.activeLine} />
|
|
85
|
+
) : (
|
|
86
|
+
<View style={{ height: 3 }} />
|
|
87
|
+
)}
|
|
88
|
+
</TouchableOpacity>
|
|
89
|
+
);
|
|
90
|
+
})}
|
|
91
|
+
</ScrollView>
|
|
92
|
+
</View>
|
|
93
|
+
{/* Greetings Section */}
|
|
94
|
+
<View style={styles.sectionHeader}>
|
|
95
|
+
<Text style={styles.sectionTitle}>Greetings (9)</Text>
|
|
96
|
+
<TouchableOpacity>
|
|
97
|
+
<Text style={styles.seeAll}>See all</Text>
|
|
98
|
+
</TouchableOpacity>
|
|
99
|
+
</View>
|
|
100
|
+
<FlatList
|
|
101
|
+
data={greetingsData}
|
|
102
|
+
keyExtractor={(item) => item.id}
|
|
103
|
+
horizontal
|
|
104
|
+
showsHorizontalScrollIndicator={false}
|
|
105
|
+
renderItem={({ item }) => <Card item={item} />}
|
|
106
|
+
/>
|
|
107
|
+
</SafeAreaView>
|
|
108
|
+
</ScrollView>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
function Card({ item }: any) {
|
|
112
|
+
return (
|
|
113
|
+
<View style={styles.card}>
|
|
114
|
+
<Image source={{ uri: item.image }} style={styles.cardImage} />
|
|
115
|
+
{/* Heart button */}
|
|
116
|
+
<TouchableOpacity style={styles.cardHeart}>
|
|
117
|
+
<FeatherIcon name="heart" size={18} color="#fff" />
|
|
118
|
+
</TouchableOpacity>
|
|
119
|
+
{/* Tags */}
|
|
120
|
+
<View style={styles.tagRow}>
|
|
121
|
+
{item.tags.map((t: string, i: number) => (
|
|
122
|
+
<View key={i} style={styles.tag}>
|
|
123
|
+
<Text style={styles.tagText}>{t}</Text>
|
|
124
|
+
</View>
|
|
125
|
+
))}
|
|
126
|
+
</View>
|
|
127
|
+
{/* Title + Share */}
|
|
128
|
+
<View style={styles.cardFooter}>
|
|
129
|
+
<Text numberOfLines={1} style={styles.cardTitle}>
|
|
130
|
+
{item.title}
|
|
131
|
+
</Text>
|
|
132
|
+
<TouchableOpacity
|
|
133
|
+
style={{ flexDirection: 'row', alignItems: 'center' }}
|
|
134
|
+
>
|
|
135
|
+
<Text style={styles.shareText}>Share</Text>
|
|
136
|
+
<FeatherIcon name="chevron-right" size={16} color="#ff9900" />
|
|
137
|
+
</TouchableOpacity>
|
|
138
|
+
</View>
|
|
139
|
+
</View>
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
const styles = StyleSheet.create({
|
|
143
|
+
container: {
|
|
144
|
+
padding: 16,
|
|
145
|
+
backgroundColor: '#fff',
|
|
146
|
+
},
|
|
147
|
+
headerRow: {
|
|
148
|
+
flexDirection: 'row',
|
|
149
|
+
alignItems: 'center',
|
|
150
|
+
justifyContent: 'space-between',
|
|
151
|
+
marginBottom: 12,
|
|
152
|
+
},
|
|
153
|
+
headerTitle: {
|
|
154
|
+
fontSize: 20,
|
|
155
|
+
fontWeight: '600',
|
|
156
|
+
marginLeft: -120, // shifts title closer to back icon like screenshot
|
|
157
|
+
},
|
|
158
|
+
searchBox: {
|
|
159
|
+
flexDirection: 'row',
|
|
160
|
+
alignItems: 'center',
|
|
161
|
+
backgroundColor: '#fff',
|
|
162
|
+
borderRadius: 12,
|
|
163
|
+
paddingHorizontal: 12,
|
|
164
|
+
paddingVertical: 10,
|
|
165
|
+
borderWidth: 1,
|
|
166
|
+
borderColor: '#ddd',
|
|
167
|
+
marginTop: 10,
|
|
168
|
+
},
|
|
169
|
+
input: {
|
|
170
|
+
marginLeft: 8,
|
|
171
|
+
flex: 1,
|
|
172
|
+
fontSize: 14,
|
|
173
|
+
},
|
|
174
|
+
categoryContainer: {
|
|
175
|
+
marginTop: 18,
|
|
176
|
+
paddingBottom: 6,
|
|
177
|
+
borderBottomWidth: 1,
|
|
178
|
+
borderColor: '#e4e4e4',
|
|
179
|
+
},
|
|
180
|
+
tabItem: {
|
|
181
|
+
marginRight: 24,
|
|
182
|
+
alignItems: 'center',
|
|
183
|
+
},
|
|
184
|
+
tabText: {
|
|
185
|
+
fontSize: 15,
|
|
186
|
+
color: '#666',
|
|
187
|
+
marginBottom: 6,
|
|
188
|
+
},
|
|
189
|
+
activeTabText: {
|
|
190
|
+
color: '#000',
|
|
191
|
+
fontWeight: '600',
|
|
192
|
+
},
|
|
193
|
+
activeLine: {
|
|
194
|
+
height: 3,
|
|
195
|
+
width: 25,
|
|
196
|
+
backgroundColor: '#fbbf24', // exact yellow underline
|
|
197
|
+
borderRadius: 2,
|
|
198
|
+
},
|
|
199
|
+
sectionHeader: {
|
|
200
|
+
marginTop: 20,
|
|
201
|
+
marginBottom: 10,
|
|
202
|
+
flexDirection: 'row',
|
|
203
|
+
justifyContent: 'space-between',
|
|
204
|
+
alignItems: 'center',
|
|
205
|
+
},
|
|
206
|
+
sectionTitle: {
|
|
207
|
+
fontSize: 18,
|
|
208
|
+
fontWeight: '600',
|
|
209
|
+
},
|
|
210
|
+
seeAll: {
|
|
211
|
+
color: '#ff9900',
|
|
212
|
+
fontWeight: '600',
|
|
213
|
+
},
|
|
214
|
+
card: {
|
|
215
|
+
width: width * 0.7,
|
|
216
|
+
marginRight: 16,
|
|
217
|
+
borderRadius: 14,
|
|
218
|
+
backgroundColor: '#fff',
|
|
219
|
+
overflow: 'hidden',
|
|
220
|
+
elevation: 2,
|
|
221
|
+
},
|
|
222
|
+
cardImage: {
|
|
223
|
+
width: '100%',
|
|
224
|
+
height: 160,
|
|
225
|
+
},
|
|
226
|
+
cardHeart: {
|
|
227
|
+
position: 'absolute',
|
|
228
|
+
top: 10,
|
|
229
|
+
right: 10,
|
|
230
|
+
backgroundColor: 'rgba(0,0,0,0.4)',
|
|
231
|
+
padding: 6,
|
|
232
|
+
borderRadius: 20,
|
|
233
|
+
},
|
|
234
|
+
tagRow: {
|
|
235
|
+
flexDirection: 'row',
|
|
236
|
+
marginTop: 6,
|
|
237
|
+
marginLeft: 8,
|
|
238
|
+
},
|
|
239
|
+
tag: {
|
|
240
|
+
backgroundColor: '#fff',
|
|
241
|
+
paddingHorizontal: 6,
|
|
242
|
+
paddingVertical: 2,
|
|
243
|
+
borderRadius: 6,
|
|
244
|
+
marginRight: 6,
|
|
245
|
+
borderWidth: 1,
|
|
246
|
+
borderColor: '#ddd',
|
|
247
|
+
},
|
|
248
|
+
tagText: {
|
|
249
|
+
fontSize: 10,
|
|
250
|
+
color: '#444',
|
|
251
|
+
},
|
|
252
|
+
cardFooter: {
|
|
253
|
+
padding: 10,
|
|
254
|
+
flexDirection: 'row',
|
|
255
|
+
justifyContent: 'space-between',
|
|
256
|
+
alignItems: 'center',
|
|
257
|
+
},
|
|
258
|
+
cardTitle: {
|
|
259
|
+
width: '60%',
|
|
260
|
+
fontSize: 14,
|
|
261
|
+
fontWeight: '600',
|
|
262
|
+
},
|
|
263
|
+
shareText: {
|
|
264
|
+
color: '#ff9900',
|
|
265
|
+
fontWeight: '600',
|
|
266
|
+
marginRight: 4,
|
|
267
|
+
},
|
|
268
|
+
});
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
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";
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
export default function CRMScreen() {
|
|
8
|
-
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
9
|
-
style: styles.container,
|
|
10
|
-
edges: ['bottom'],
|
|
11
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
12
|
-
style: styles.header,
|
|
13
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
14
|
-
style: styles.headerTitle,
|
|
15
|
-
children: "CRM"
|
|
16
|
-
})
|
|
17
|
-
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
18
|
-
style: styles.scrollView
|
|
19
|
-
})]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
const styles = StyleSheet.create({
|
|
23
|
-
container: {
|
|
24
|
-
flex: 1,
|
|
25
|
-
backgroundColor: Colors.background
|
|
26
|
-
},
|
|
27
|
-
header: {
|
|
28
|
-
backgroundColor: Colors.white,
|
|
29
|
-
padding: 16
|
|
30
|
-
},
|
|
31
|
-
headerTitle: {
|
|
32
|
-
fontSize: 20,
|
|
33
|
-
fontWeight: '600',
|
|
34
|
-
color: Colors.black,
|
|
35
|
-
textAlign: 'center'
|
|
36
|
-
},
|
|
37
|
-
scrollView: {
|
|
38
|
-
flex: 1
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=CRMScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["View","Text","StyleSheet","ScrollView","SafeAreaView","Colors","jsx","_jsx","jsxs","_jsxs","CRMScreen","style","styles","container","edges","children","header","headerTitle","scrollView","create","flex","backgroundColor","background","white","padding","fontSize","fontWeight","color","black","textAlign"],"sourceRoot":"../../../src","sources":["screens/CRMScreen.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,SAASA,CAAA,EAAG;EAClC,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;MAAG,CAAM;IAAC,CACvC,CAAC,eACPR,IAAA,CAACJ,UAAU;MAACQ,KAAK,EAAEC,MAAM,CAACM;IAAW,CAAE,CAAC;EAAA,CAC5B,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,211 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Image, FlatList, Dimensions } from 'react-native';
|
|
5
|
-
import { Colors } from "../constants/Colors.js";
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
const MenuItem = ({
|
|
8
|
-
title,
|
|
9
|
-
icon,
|
|
10
|
-
onPress
|
|
11
|
-
}) => {
|
|
12
|
-
return /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
13
|
-
style: styles.menuItem,
|
|
14
|
-
onPress: onPress,
|
|
15
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
16
|
-
style: styles.iconContainer,
|
|
17
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
18
|
-
style: styles.iconText,
|
|
19
|
-
children: icon
|
|
20
|
-
})
|
|
21
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
22
|
-
style: styles.menuItemText,
|
|
23
|
-
children: title
|
|
24
|
-
})]
|
|
25
|
-
});
|
|
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]);
|
|
56
|
-
return /*#__PURE__*/_jsxs(ScrollView, {
|
|
57
|
-
style: styles.scrollView,
|
|
58
|
-
children: [/*#__PURE__*/_jsxs(View, {
|
|
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
|
|
82
|
-
})
|
|
83
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
84
|
-
style: styles.carouselIndicatorsOverlay,
|
|
85
|
-
children: images.map((_, idx) => /*#__PURE__*/_jsx(View, {
|
|
86
|
-
style: [styles.indicator, idx === activeIndex ? styles.activeIndicator : null]
|
|
87
|
-
}, idx))
|
|
88
|
-
})]
|
|
89
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
90
|
-
style: styles.menuGrid,
|
|
91
|
-
children: [/*#__PURE__*/_jsx(MenuItem, {
|
|
92
|
-
title: "Content Library",
|
|
93
|
-
icon: "\uD83D\uDCDA"
|
|
94
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
95
|
-
title: "Buy Now",
|
|
96
|
-
icon: "\uD83D\uDED2"
|
|
97
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
98
|
-
title: "Quiz & Calculator",
|
|
99
|
-
icon: "\uD83E\uDDEE"
|
|
100
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
101
|
-
title: "Social Setup",
|
|
102
|
-
icon: "\uD83D\uDCE2"
|
|
103
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
104
|
-
title: "Microsite Setup",
|
|
105
|
-
icon: "\u2699\uFE0F"
|
|
106
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
107
|
-
title: "Proposal",
|
|
108
|
-
icon: "\uD83D\uDCCB"
|
|
109
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
110
|
-
title: "Email Campaign",
|
|
111
|
-
icon: "\uD83D\uDCE7"
|
|
112
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
113
|
-
title: "View Microsite",
|
|
114
|
-
icon: "\uD83C\uDFB5"
|
|
115
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
116
|
-
title: "Import Contact",
|
|
117
|
-
icon: "\uD83D\uDCC4"
|
|
118
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
119
|
-
title: "Poster Of The Week",
|
|
120
|
-
icon: "\uD83D\uDDBC\uFE0F"
|
|
121
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
122
|
-
title: "DigiCard",
|
|
123
|
-
icon: "\uD83D\uDC64"
|
|
124
|
-
}), /*#__PURE__*/_jsx(MenuItem, {
|
|
125
|
-
title: "Help Videos",
|
|
126
|
-
icon: "\u2753"
|
|
127
|
-
})]
|
|
128
|
-
})]
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
const styles = StyleSheet.create({
|
|
132
|
-
scrollView: {
|
|
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,
|
|
151
|
-
flexDirection: 'row',
|
|
152
|
-
justifyContent: 'center',
|
|
153
|
-
alignItems: 'center'
|
|
154
|
-
},
|
|
155
|
-
indicator: {
|
|
156
|
-
width: 8,
|
|
157
|
-
height: 8,
|
|
158
|
-
borderRadius: 4,
|
|
159
|
-
backgroundColor: Colors.divider,
|
|
160
|
-
marginHorizontal: 4
|
|
161
|
-
},
|
|
162
|
-
activeIndicator: {
|
|
163
|
-
backgroundColor: Colors.white,
|
|
164
|
-
width: 24
|
|
165
|
-
},
|
|
166
|
-
menuGrid: {
|
|
167
|
-
flexDirection: 'row',
|
|
168
|
-
flexWrap: 'wrap',
|
|
169
|
-
padding: 8,
|
|
170
|
-
justifyContent: 'space-between'
|
|
171
|
-
},
|
|
172
|
-
menuItem: {
|
|
173
|
-
width: '31%',
|
|
174
|
-
aspectRatio: 1,
|
|
175
|
-
backgroundColor: Colors.white,
|
|
176
|
-
borderRadius: 16,
|
|
177
|
-
padding: 12,
|
|
178
|
-
marginBottom: 12,
|
|
179
|
-
alignItems: 'center',
|
|
180
|
-
justifyContent: 'center',
|
|
181
|
-
shadowColor: Colors.black,
|
|
182
|
-
shadowOffset: {
|
|
183
|
-
width: 0,
|
|
184
|
-
height: 2
|
|
185
|
-
},
|
|
186
|
-
shadowOpacity: 0.1,
|
|
187
|
-
shadowRadius: 4,
|
|
188
|
-
elevation: 3,
|
|
189
|
-
borderWidth: 1,
|
|
190
|
-
borderColor: Colors.border
|
|
191
|
-
},
|
|
192
|
-
iconContainer: {
|
|
193
|
-
width: 50,
|
|
194
|
-
height: 50,
|
|
195
|
-
borderRadius: 25,
|
|
196
|
-
backgroundColor: Colors.divider,
|
|
197
|
-
justifyContent: 'center',
|
|
198
|
-
alignItems: 'center',
|
|
199
|
-
marginBottom: 8
|
|
200
|
-
},
|
|
201
|
-
iconText: {
|
|
202
|
-
fontSize: 24
|
|
203
|
-
},
|
|
204
|
-
menuItemText: {
|
|
205
|
-
fontSize: 11,
|
|
206
|
-
textAlign: 'center',
|
|
207
|
-
color: Colors.black,
|
|
208
|
-
fontWeight: '500'
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
//# sourceMappingURL=HomeScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,gBAAgB,EAChBC,UAAU,EACVC,KAAK,EACLC,QAAQ,EACRC,UAAU,QACL,cAAc;AACrB,SAASC,MAAM,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQ7C,MAAMC,QAAiC,GAAGA,CAAC;EAAEC,KAAK;EAAEC,IAAI;EAAEC;AAAQ,CAAC,KAAK;EACtE,oBACEJ,KAAA,CAACT,gBAAgB;IAACc,KAAK,EAAEC,MAAM,CAACC,QAAS;IAACH,OAAO,EAAEA,OAAQ;IAAAI,QAAA,gBACzDV,IAAA,CAACV,IAAI;MAACiB,KAAK,EAAEC,MAAM,CAACG,aAAc;MAAAD,QAAA,eAChCV,IAAA,CAACT,IAAI;QAACgB,KAAK,EAAEC,MAAM,CAACI,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AK;IACzBC,YAAY,EAAE;MAAEtE,KAAK,EAAE,CAAC;MAAEqD,MAAM,EAAE;IAAE,CAAC;IACrCkB,aAAa,EAAE,GAAG;IAClBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE/F,MAAM,CAACgG;EACtB,CAAC;EACDnF,aAAa,EAAE;IACbO,KAAK,EAAE,EAAE;IACTqD,MAAM,EAAE,EAAE;IACVQ,YAAY,EAAE,EAAE;IAChBX,eAAe,EAAEtE,MAAM,CAACkF,OAAO;IAC/BH,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBO,YAAY,EAAE;EAChB,CAAC;EACDzE,QAAQ,EAAE;IACRmF,QAAQ,EAAE;EACZ,CAAC;EACDlF,YAAY,EAAE;IACZkF,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBC,KAAK,EAAEnG,MAAM,CAACyF,KAAK;IACnBW,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
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";
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
export default function NotificationsScreen() {
|
|
8
|
-
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
9
|
-
style: styles.container,
|
|
10
|
-
edges: ['bottom'],
|
|
11
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
12
|
-
style: styles.header,
|
|
13
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
14
|
-
style: styles.headerTitle,
|
|
15
|
-
children: "Notification"
|
|
16
|
-
})
|
|
17
|
-
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
18
|
-
style: styles.scrollView
|
|
19
|
-
})]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
const styles = StyleSheet.create({
|
|
23
|
-
container: {
|
|
24
|
-
flex: 1,
|
|
25
|
-
backgroundColor: Colors.background
|
|
26
|
-
},
|
|
27
|
-
header: {
|
|
28
|
-
backgroundColor: Colors.white,
|
|
29
|
-
padding: 16
|
|
30
|
-
},
|
|
31
|
-
headerTitle: {
|
|
32
|
-
fontSize: 20,
|
|
33
|
-
fontWeight: '600',
|
|
34
|
-
color: Colors.black,
|
|
35
|
-
textAlign: 'center'
|
|
36
|
-
},
|
|
37
|
-
scrollView: {
|
|
38
|
-
flex: 1
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=NotificationsScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAE,CAAC;EAAA,CAC5B,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,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
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";
|
|
6
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
-
export default function ProfileScreen() {
|
|
8
|
-
return /*#__PURE__*/_jsxs(SafeAreaView, {
|
|
9
|
-
style: styles.container,
|
|
10
|
-
edges: ['bottom'],
|
|
11
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
12
|
-
style: styles.header,
|
|
13
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
14
|
-
style: styles.headerTitle,
|
|
15
|
-
children: "Anyaltics"
|
|
16
|
-
})
|
|
17
|
-
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
18
|
-
style: styles.scrollView
|
|
19
|
-
})]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
const styles = StyleSheet.create({
|
|
23
|
-
container: {
|
|
24
|
-
flex: 1,
|
|
25
|
-
backgroundColor: Colors.background
|
|
26
|
-
},
|
|
27
|
-
header: {
|
|
28
|
-
backgroundColor: Colors.white,
|
|
29
|
-
padding: 16
|
|
30
|
-
},
|
|
31
|
-
headerTitle: {
|
|
32
|
-
fontSize: 20,
|
|
33
|
-
fontWeight: '600',
|
|
34
|
-
color: Colors.black,
|
|
35
|
-
textAlign: 'center'
|
|
36
|
-
},
|
|
37
|
-
scrollView: {
|
|
38
|
-
flex: 1
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=ProfileScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAE,CAAC;EAAA,CAC5B,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CRMScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/CRMScreen.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,SAAS,4CAShC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/HomeScreen.tsx"],"names":[],"mappings":"AA8BA,MAAM,CAAC,OAAO,UAAU,UAAU,4CA6FjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/NotificationsScreen.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,mBAAmB,4CAS1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileScreen.d.ts","sourceRoot":"","sources":["../../../../src/screens/ProfileScreen.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,aAAa,4CASpC"}
|