@dhiraj0720/report1chart 2.6.9 → 2.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhiraj0720/report1chart",
3
- "version": "2.6.9",
3
+ "version": "2.7.0",
4
4
  "main": "src/index.jsx",
5
5
  "scripts": {
6
6
  "test": "echo 'No tests'"
@@ -16,11 +16,18 @@ const Report1AScreen = ({ endpoint, token, onBack }) => {
16
16
  return (
17
17
  <>
18
18
  <ScrollView style={{ padding: 16 }}>
19
- <Text onPress={onBack} style={{ marginBottom: 12 }}>‹ Back</Text>
19
+ {/* <Text onPress={onBack} style={{ marginBottom: 12 }}>‹ Back</Text>
20
20
 
21
21
  <Text style={{ fontSize: 18, fontWeight: '700', marginBottom: 12 }}>
22
22
  PERFORMANS RAPORU (USD)
23
- </Text>
23
+ </Text> */}
24
+
25
+ <View style={styles.header}>
26
+ <TouchableOpacity onPress={onBack}>
27
+ <Text style={styles.backIcon}>‹</Text>
28
+ </TouchableOpacity>
29
+ <Text style={styles.headerTitle}>PERFORMANS RAPORU (USD)</Text>
30
+ </View>
24
31
 
25
32
  {/* FULLSCREEN BUTTON */}
26
33
  <TouchableOpacity
@@ -81,7 +81,7 @@ const Report2AScreen = ({ api, token, onBack }) => {
81
81
  {/* HEADER */}
82
82
  <View style={styles.header}>
83
83
  <TouchableOpacity onPress={onBack}>
84
- <Text style={styles.backIcon}>←</Text>
84
+ <Text style={styles.backIcon}>‹</Text>
85
85
  </TouchableOpacity>
86
86
  <Text style={styles.headerTitle}>{currentDivisionName} Transportation</Text>
87
87
  </View>
@@ -106,14 +106,20 @@ const Report2AScreen = ({ api, token, onBack }) => {
106
106
  </View>
107
107
 
108
108
  <ScrollView style={styles.content}>
109
- {/* FULL SCREEN BUTTON */}
109
+ {/* FULL SCREEN BUTTON
110
110
  <TouchableOpacity onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}>
111
111
  <Svg width={28} height={28} viewBox="0 0 24 24" fill="none">
112
112
  <Path d="M8 3H5C4.44772 3 4 3.44772 4 4V8M20 8V4C20 3.44772 19.5523 3 19 3H16M16 21H19C19.5523 21 20 20.5523 20 20V16M4 16V20C4 20.5523 4.44772 21 5 21H8"
113
113
  stroke="#000" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round" />
114
114
  </Svg>
115
115
  <Text style={styles.fullScreenText}>Full Screen Table</Text>
116
- </TouchableOpacity>
116
+ </TouchableOpacity> */}
117
+
118
+ <TouchableOpacity
119
+ onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}
120
+ >
121
+ <Text style={{ fontWeight: '700' }}>⤢ Full Screen</Text>
122
+ </TouchableOpacity>
117
123
 
118
124
  <FrozenTableReport2A rows={filteredRows} />
119
125
 
@@ -99,7 +99,7 @@ const Report3AScreen = ({ api, token, onBack }) => {
99
99
  {/* HEADER WITH BACK ICON */}
100
100
  <View style={styles.header}>
101
101
  <TouchableOpacity onPress={onBack}>
102
- <Text style={styles.backIcon}>←</Text>
102
+ <Text style={styles.backIcon}>‹</Text>
103
103
  </TouchableOpacity>
104
104
  <Text style={styles.headerTitle}>Ulaştırma Hizmetleri Analizi (A)</Text>
105
105
  </View>
@@ -118,14 +118,20 @@ const Report3AScreen = ({ api, token, onBack }) => {
118
118
  </View>
119
119
 
120
120
  <ScrollView style={styles.content}>
121
- {/* FULL SCREEN BUTTON */}
121
+ {/* FULL SCREEN BUTTON
122
122
  <TouchableOpacity onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}>
123
123
  <Svg width={28} height={28} viewBox="0 0 24 24" fill="none">
124
124
  <Path d="M8 3H5C4.44772 3 4 3.44772 4 4V8M20 8V4C20 3.44772 19.5523 3 19 3H16M16 21H19C19.5523 21 20 20.5523 20 20V16M4 16V20C4 20.5523 4.44772 21 5 21H8"
125
125
  stroke="#000" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round" />
126
126
  </Svg>
127
127
  <Text style={styles.fullScreenText}>Full Screen Table</Text>
128
- </TouchableOpacity>
128
+ </TouchableOpacity> */}
129
+
130
+ <TouchableOpacity
131
+ onPress={() => setFullscreen(true)} style={styles.fullScreenBtn}
132
+ >
133
+ <Text style={{ fontWeight: '700' }}>⤢ Full Screen</Text>
134
+ </TouchableOpacity>
129
135
 
130
136
  {/* TABLE */}
131
137
  <FrozenTableReport3A rows={filteredRows} />