@dhiraj0720/report1chart 3.1.0 → 3.1.1
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/package.json
CHANGED
|
@@ -263,11 +263,13 @@ const Report1ModernScreen = ({ api, token, onBack }) => {
|
|
|
263
263
|
<View style={styles.hero}>
|
|
264
264
|
<View style={styles.heroGlowLeft} />
|
|
265
265
|
<View style={styles.heroGlowRight} />
|
|
266
|
-
<
|
|
267
|
-
<
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
266
|
+
<View style={styles.heroTopRow}>
|
|
267
|
+
<TouchableOpacity onPress={onBack} style={styles.backButton}>
|
|
268
|
+
<Text style={styles.backIcon}>‹</Text>
|
|
269
|
+
</TouchableOpacity>
|
|
270
|
+
<Text numberOfLines={1} style={styles.heroTitle}>Performance Studio</Text>
|
|
271
|
+
</View>
|
|
272
|
+
<Text style={styles.heroSubtitle}>Three-tab performance monitor</Text>
|
|
271
273
|
</View>
|
|
272
274
|
|
|
273
275
|
<View style={styles.tabsContainer}>
|
|
@@ -538,6 +540,10 @@ const styles = StyleSheet.create({
|
|
|
538
540
|
backgroundColor: '#131d30',
|
|
539
541
|
overflow: 'hidden',
|
|
540
542
|
},
|
|
543
|
+
heroTopRow: {
|
|
544
|
+
flexDirection: 'row',
|
|
545
|
+
alignItems: 'center',
|
|
546
|
+
},
|
|
541
547
|
heroGlowLeft: {
|
|
542
548
|
position: 'absolute',
|
|
543
549
|
width: 180,
|
|
@@ -571,7 +577,8 @@ const styles = StyleSheet.create({
|
|
|
571
577
|
marginTop: -2,
|
|
572
578
|
},
|
|
573
579
|
heroTitle: {
|
|
574
|
-
|
|
580
|
+
marginLeft: 10,
|
|
581
|
+
flex: 1,
|
|
575
582
|
color: '#fff',
|
|
576
583
|
fontSize: 22,
|
|
577
584
|
fontWeight: '800',
|
|
@@ -260,11 +260,13 @@ const Report2ModernScreen = ({ api, token, onBack }) => {
|
|
|
260
260
|
<View style={styles.hero}>
|
|
261
261
|
<View style={styles.heroDotLarge} />
|
|
262
262
|
<View style={styles.heroDotSmall} />
|
|
263
|
-
<
|
|
264
|
-
<
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
263
|
+
<View style={styles.heroTopRow}>
|
|
264
|
+
<TouchableOpacity onPress={onBack} style={styles.backButton}>
|
|
265
|
+
<Text style={styles.backIcon}>‹</Text>
|
|
266
|
+
</TouchableOpacity>
|
|
267
|
+
<Text numberOfLines={1} style={styles.heroTitle}>Gross Profit</Text>
|
|
268
|
+
</View>
|
|
269
|
+
<Text style={styles.heroSubtitle}>Filtered month data overview</Text>
|
|
268
270
|
</View>
|
|
269
271
|
|
|
270
272
|
<ScrollView
|
|
@@ -484,6 +486,10 @@ const styles = StyleSheet.create({
|
|
|
484
486
|
paddingBottom: 16,
|
|
485
487
|
overflow: 'hidden',
|
|
486
488
|
},
|
|
489
|
+
heroTopRow: {
|
|
490
|
+
flexDirection: 'row',
|
|
491
|
+
alignItems: 'center',
|
|
492
|
+
},
|
|
487
493
|
heroDotLarge: {
|
|
488
494
|
position: 'absolute',
|
|
489
495
|
width: 180,
|
|
@@ -517,7 +523,8 @@ const styles = StyleSheet.create({
|
|
|
517
523
|
marginTop: -2,
|
|
518
524
|
},
|
|
519
525
|
heroTitle: {
|
|
520
|
-
|
|
526
|
+
marginLeft: 10,
|
|
527
|
+
flex: 1,
|
|
521
528
|
fontSize: 22,
|
|
522
529
|
fontWeight: '800',
|
|
523
530
|
color: '#fff',
|
|
@@ -294,11 +294,13 @@ const Report3ModernScreen = ({ api, token, onBack }) => {
|
|
|
294
294
|
<View style={styles.hero}>
|
|
295
295
|
<View style={styles.heroBlobLeft} />
|
|
296
296
|
<View style={styles.heroBlobRight} />
|
|
297
|
-
<
|
|
298
|
-
<
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
297
|
+
<View style={styles.heroTopRow}>
|
|
298
|
+
<TouchableOpacity style={styles.backButton} onPress={onBack}>
|
|
299
|
+
<Text style={styles.backIcon}>‹</Text>
|
|
300
|
+
</TouchableOpacity>
|
|
301
|
+
<Text numberOfLines={1} style={styles.heroTitle}>Transport</Text>
|
|
302
|
+
</View>
|
|
303
|
+
<Text style={styles.heroSubtitle}>Filtered API visuals with compact charts</Text>
|
|
302
304
|
</View>
|
|
303
305
|
|
|
304
306
|
<ScrollView
|
|
@@ -545,6 +547,10 @@ const styles = StyleSheet.create({
|
|
|
545
547
|
paddingBottom: 18,
|
|
546
548
|
overflow: 'hidden',
|
|
547
549
|
},
|
|
550
|
+
heroTopRow: {
|
|
551
|
+
flexDirection: 'row',
|
|
552
|
+
alignItems: 'center',
|
|
553
|
+
},
|
|
548
554
|
heroBlobLeft: {
|
|
549
555
|
position: 'absolute',
|
|
550
556
|
width: 160,
|
|
@@ -578,7 +584,8 @@ const styles = StyleSheet.create({
|
|
|
578
584
|
marginTop: -2,
|
|
579
585
|
},
|
|
580
586
|
heroTitle: {
|
|
581
|
-
|
|
587
|
+
marginLeft: 10,
|
|
588
|
+
flex: 1,
|
|
582
589
|
color: '#fff',
|
|
583
590
|
fontSize: 22,
|
|
584
591
|
fontWeight: '800',
|
|
@@ -48,18 +48,18 @@ const OLD_REPORTS = [
|
|
|
48
48
|
const NEW_REPORTS = [
|
|
49
49
|
{
|
|
50
50
|
id: '1N1',
|
|
51
|
-
title: 'Performance
|
|
52
|
-
desc: '
|
|
51
|
+
title: 'Performance Studio',
|
|
52
|
+
desc: '',
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
id: '2N1',
|
|
56
|
-
title: 'Gross Profit
|
|
57
|
-
desc: '
|
|
56
|
+
title: 'Gross Profit',
|
|
57
|
+
desc: '',
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
id: '3N1',
|
|
61
|
-
title: '
|
|
62
|
-
desc: '
|
|
61
|
+
title: 'Transport',
|
|
62
|
+
desc: '',
|
|
63
63
|
},
|
|
64
64
|
];
|
|
65
65
|
|
|
@@ -130,7 +130,9 @@ const ReportListScreen = ({ onSelect, onExit }) => {
|
|
|
130
130
|
activeOpacity={0.88}
|
|
131
131
|
>
|
|
132
132
|
<Text style={styles.cardTitle}>{report.title}</Text>
|
|
133
|
-
|
|
133
|
+
{report.desc ? (
|
|
134
|
+
<Text style={styles.cardDesc}>{report.desc}</Text>
|
|
135
|
+
) : null}
|
|
134
136
|
</TouchableOpacity>
|
|
135
137
|
))}
|
|
136
138
|
</ScrollView>
|