digikhata-mashreq-sdk 0.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.
Files changed (203) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +37 -0
  3. package/lib/module/App.js +41 -0
  4. package/lib/module/App.js.map +1 -0
  5. package/lib/module/app/assets/Icons/Bill.png +0 -0
  6. package/lib/module/app/assets/Icons/Cash.png +0 -0
  7. package/lib/module/app/assets/Icons/Expense.png +0 -0
  8. package/lib/module/app/assets/Icons/Staff.png +0 -0
  9. package/lib/module/app/assets/Icons/Stock.png +0 -0
  10. package/lib/module/app/assets/images/bill.png +0 -0
  11. package/lib/module/app/assets/images/book.png +0 -0
  12. package/lib/module/app/assets/images/digiKhataSolo256.png +0 -0
  13. package/lib/module/app/assets/images/money.png +0 -0
  14. package/lib/module/app/assets/images/staff.png +0 -0
  15. package/lib/module/app/assets/images/stock.png +0 -0
  16. package/lib/module/app/assets/images/svgviewer-png-output-white.png +0 -0
  17. package/lib/module/app/components/Balance.js +153 -0
  18. package/lib/module/app/components/Balance.js.map +1 -0
  19. package/lib/module/app/components/CountryPhoneInput.js +271 -0
  20. package/lib/module/app/components/CountryPhoneInput.js.map +1 -0
  21. package/lib/module/app/components/Entries.js +89 -0
  22. package/lib/module/app/components/Entries.js.map +1 -0
  23. package/lib/module/app/components/SearchBar.js +70 -0
  24. package/lib/module/app/components/SearchBar.js.map +1 -0
  25. package/lib/module/app/components/Transaction.js +108 -0
  26. package/lib/module/app/components/Transaction.js.map +1 -0
  27. package/lib/module/app/components/User.js +109 -0
  28. package/lib/module/app/components/User.js.map +1 -0
  29. package/lib/module/app/components/index.js +10 -0
  30. package/lib/module/app/components/index.js.map +1 -0
  31. package/lib/module/app/database/clients.js +149 -0
  32. package/lib/module/app/database/clients.js.map +1 -0
  33. package/lib/module/app/database/database.js +9 -0
  34. package/lib/module/app/database/database.js.map +1 -0
  35. package/lib/module/app/database/schema.js +525 -0
  36. package/lib/module/app/database/schema.js.map +1 -0
  37. package/lib/module/app/navigation/BottomTabs/BottomTabs.js +29 -0
  38. package/lib/module/app/navigation/BottomTabs/BottomTabs.js.map +1 -0
  39. package/lib/module/app/navigation/Drawer/Drawer.js +13 -0
  40. package/lib/module/app/navigation/Drawer/Drawer.js.map +1 -0
  41. package/lib/module/app/navigation/HomeStack/HomeStack.js +36 -0
  42. package/lib/module/app/navigation/HomeStack/HomeStack.js.map +1 -0
  43. package/lib/module/app/navigation/Root.js +26 -0
  44. package/lib/module/app/navigation/Root.js.map +1 -0
  45. package/lib/module/app/navigation/index.js +7 -0
  46. package/lib/module/app/navigation/index.js.map +1 -0
  47. package/lib/module/app/redux/Store.js +10 -0
  48. package/lib/module/app/redux/Store.js.map +1 -0
  49. package/lib/module/app/redux/reducers/client/client_actions.js +2 -0
  50. package/lib/module/app/redux/reducers/client/client_actions.js.map +1 -0
  51. package/lib/module/app/redux/reducers/client/client_reducers.js +26 -0
  52. package/lib/module/app/redux/reducers/client/client_reducers.js.map +1 -0
  53. package/lib/module/app/redux/reducers/client/client_types.js +7 -0
  54. package/lib/module/app/redux/reducers/client/client_types.js.map +1 -0
  55. package/lib/module/app/screens/AddScreen.js +200 -0
  56. package/lib/module/app/screens/AddScreen.js.map +1 -0
  57. package/lib/module/app/screens/Banks.js +126 -0
  58. package/lib/module/app/screens/Banks.js.map +1 -0
  59. package/lib/module/app/screens/CustomerEntries.js +475 -0
  60. package/lib/module/app/screens/CustomerEntries.js.map +1 -0
  61. package/lib/module/app/screens/Customers.js +233 -0
  62. package/lib/module/app/screens/Customers.js.map +1 -0
  63. package/lib/module/app/screens/Entry.js +696 -0
  64. package/lib/module/app/screens/Entry.js.map +1 -0
  65. package/lib/module/app/screens/HomeScreen.js +176 -0
  66. package/lib/module/app/screens/HomeScreen.js.map +1 -0
  67. package/lib/module/app/screens/SelectBusiness.js +201 -0
  68. package/lib/module/app/screens/SelectBusiness.js.map +1 -0
  69. package/lib/module/app/screens/Splash.js +51 -0
  70. package/lib/module/app/screens/Splash.js.map +1 -0
  71. package/lib/module/app/screens/Suppliers.js +222 -0
  72. package/lib/module/app/screens/Suppliers.js.map +1 -0
  73. package/lib/module/app/screens/TransactionDetails.js +301 -0
  74. package/lib/module/app/screens/TransactionDetails.js.map +1 -0
  75. package/lib/module/app/screens/index.js +14 -0
  76. package/lib/module/app/screens/index.js.map +1 -0
  77. package/lib/module/app/themes/config.js +156 -0
  78. package/lib/module/app/themes/config.js.map +1 -0
  79. package/lib/module/app/utils/countries.json +1930 -0
  80. package/lib/module/declarations.d.js +2 -0
  81. package/lib/module/declarations.d.js.map +1 -0
  82. package/lib/module/index.js +5 -0
  83. package/lib/module/index.js.map +1 -0
  84. package/lib/module/package.json +1 -0
  85. package/lib/typescript/babel.config.d.ts +10 -0
  86. package/lib/typescript/babel.config.d.ts.map +1 -0
  87. package/lib/typescript/eslint.config.d.mts +3 -0
  88. package/lib/typescript/eslint.config.d.mts.map +1 -0
  89. package/lib/typescript/package.json +1 -0
  90. package/lib/typescript/src/App.d.ts +2 -0
  91. package/lib/typescript/src/App.d.ts.map +1 -0
  92. package/lib/typescript/src/app/components/Balance.d.ts +8 -0
  93. package/lib/typescript/src/app/components/Balance.d.ts.map +1 -0
  94. package/lib/typescript/src/app/components/CountryPhoneInput.d.ts +6 -0
  95. package/lib/typescript/src/app/components/CountryPhoneInput.d.ts.map +1 -0
  96. package/lib/typescript/src/app/components/Entries.d.ts +4 -0
  97. package/lib/typescript/src/app/components/Entries.d.ts.map +1 -0
  98. package/lib/typescript/src/app/components/SearchBar.d.ts +6 -0
  99. package/lib/typescript/src/app/components/SearchBar.d.ts.map +1 -0
  100. package/lib/typescript/src/app/components/Transaction.d.ts +11 -0
  101. package/lib/typescript/src/app/components/Transaction.d.ts.map +1 -0
  102. package/lib/typescript/src/app/components/User.d.ts +10 -0
  103. package/lib/typescript/src/app/components/User.d.ts.map +1 -0
  104. package/lib/typescript/src/app/components/index.d.ts +8 -0
  105. package/lib/typescript/src/app/components/index.d.ts.map +1 -0
  106. package/lib/typescript/src/app/database/clients.d.ts +9 -0
  107. package/lib/typescript/src/app/database/clients.d.ts.map +1 -0
  108. package/lib/typescript/src/app/database/database.d.ts +3 -0
  109. package/lib/typescript/src/app/database/database.d.ts.map +1 -0
  110. package/lib/typescript/src/app/database/schema.d.ts +2 -0
  111. package/lib/typescript/src/app/database/schema.d.ts.map +1 -0
  112. package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts +2 -0
  113. package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts.map +1 -0
  114. package/lib/typescript/src/app/navigation/Drawer/Drawer.d.ts +2 -0
  115. package/lib/typescript/src/app/navigation/Drawer/Drawer.d.ts.map +1 -0
  116. package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts +2 -0
  117. package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts.map +1 -0
  118. package/lib/typescript/src/app/navigation/Root.d.ts +2 -0
  119. package/lib/typescript/src/app/navigation/Root.d.ts.map +1 -0
  120. package/lib/typescript/src/app/navigation/index.d.ts +5 -0
  121. package/lib/typescript/src/app/navigation/index.d.ts.map +1 -0
  122. package/lib/typescript/src/app/redux/Store.d.ts +2 -0
  123. package/lib/typescript/src/app/redux/Store.d.ts.map +1 -0
  124. package/lib/typescript/src/app/redux/reducers/client/client_actions.d.ts +1 -0
  125. package/lib/typescript/src/app/redux/reducers/client/client_actions.d.ts.map +1 -0
  126. package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts +3 -0
  127. package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts.map +1 -0
  128. package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts +5 -0
  129. package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts.map +1 -0
  130. package/lib/typescript/src/app/screens/AddScreen.d.ts +5 -0
  131. package/lib/typescript/src/app/screens/AddScreen.d.ts.map +1 -0
  132. package/lib/typescript/src/app/screens/Banks.d.ts +2 -0
  133. package/lib/typescript/src/app/screens/Banks.d.ts.map +1 -0
  134. package/lib/typescript/src/app/screens/CustomerEntries.d.ts +5 -0
  135. package/lib/typescript/src/app/screens/CustomerEntries.d.ts.map +1 -0
  136. package/lib/typescript/src/app/screens/Customers.d.ts +4 -0
  137. package/lib/typescript/src/app/screens/Customers.d.ts.map +1 -0
  138. package/lib/typescript/src/app/screens/Entry.d.ts +5 -0
  139. package/lib/typescript/src/app/screens/Entry.d.ts.map +1 -0
  140. package/lib/typescript/src/app/screens/HomeScreen.d.ts +4 -0
  141. package/lib/typescript/src/app/screens/HomeScreen.d.ts.map +1 -0
  142. package/lib/typescript/src/app/screens/SelectBusiness.d.ts +4 -0
  143. package/lib/typescript/src/app/screens/SelectBusiness.d.ts.map +1 -0
  144. package/lib/typescript/src/app/screens/Splash.d.ts +4 -0
  145. package/lib/typescript/src/app/screens/Splash.d.ts.map +1 -0
  146. package/lib/typescript/src/app/screens/Suppliers.d.ts +4 -0
  147. package/lib/typescript/src/app/screens/Suppliers.d.ts.map +1 -0
  148. package/lib/typescript/src/app/screens/TransactionDetails.d.ts +5 -0
  149. package/lib/typescript/src/app/screens/TransactionDetails.d.ts.map +1 -0
  150. package/lib/typescript/src/app/screens/index.d.ts +12 -0
  151. package/lib/typescript/src/app/screens/index.d.ts.map +1 -0
  152. package/lib/typescript/src/app/themes/config.d.ts +63 -0
  153. package/lib/typescript/src/app/themes/config.d.ts.map +1 -0
  154. package/lib/typescript/src/index.d.ts +3 -0
  155. package/lib/typescript/src/index.d.ts.map +1 -0
  156. package/package.json +154 -0
  157. package/src/App.js +41 -0
  158. package/src/app/assets/Icons/Bill.png +0 -0
  159. package/src/app/assets/Icons/Cash.png +0 -0
  160. package/src/app/assets/Icons/Expense.png +0 -0
  161. package/src/app/assets/Icons/Staff.png +0 -0
  162. package/src/app/assets/Icons/Stock.png +0 -0
  163. package/src/app/assets/images/bill.png +0 -0
  164. package/src/app/assets/images/book.png +0 -0
  165. package/src/app/assets/images/digiKhataSolo256.png +0 -0
  166. package/src/app/assets/images/money.png +0 -0
  167. package/src/app/assets/images/staff.png +0 -0
  168. package/src/app/assets/images/stock.png +0 -0
  169. package/src/app/assets/images/svgviewer-png-output-white.png +0 -0
  170. package/src/app/components/Balance.js +122 -0
  171. package/src/app/components/CountryPhoneInput.js +286 -0
  172. package/src/app/components/Entries.js +75 -0
  173. package/src/app/components/SearchBar.js +64 -0
  174. package/src/app/components/Transaction.js +91 -0
  175. package/src/app/components/User.js +85 -0
  176. package/src/app/components/index.js +15 -0
  177. package/src/app/database/clients.js +207 -0
  178. package/src/app/database/database.js +9 -0
  179. package/src/app/database/schema.js +525 -0
  180. package/src/app/navigation/BottomTabs/BottomTabs.js +27 -0
  181. package/src/app/navigation/Drawer/Drawer.js +10 -0
  182. package/src/app/navigation/HomeStack/HomeStack.js +43 -0
  183. package/src/app/navigation/Root.js +32 -0
  184. package/src/app/navigation/index.js +9 -0
  185. package/src/app/redux/Store.js +9 -0
  186. package/src/app/redux/reducers/client/client_actions.js +0 -0
  187. package/src/app/redux/reducers/client/client_reducers.js +30 -0
  188. package/src/app/redux/reducers/client/client_types.js +5 -0
  189. package/src/app/screens/AddScreen.js +185 -0
  190. package/src/app/screens/Banks.js +151 -0
  191. package/src/app/screens/CustomerEntries.js +402 -0
  192. package/src/app/screens/Customers.js +240 -0
  193. package/src/app/screens/Entry.js +658 -0
  194. package/src/app/screens/HomeScreen.js +146 -0
  195. package/src/app/screens/SelectBusiness.js +177 -0
  196. package/src/app/screens/Splash.js +43 -0
  197. package/src/app/screens/Suppliers.js +228 -0
  198. package/src/app/screens/TransactionDetails.js +199 -0
  199. package/src/app/screens/index.js +23 -0
  200. package/src/app/themes/config.js +185 -0
  201. package/src/app/utils/countries.json +1930 -0
  202. package/src/declarations.d.ts +1 -0
  203. package/src/index.tsx +3 -0
@@ -0,0 +1,185 @@
1
+ import { View, Text, StyleSheet, TouchableOpacity, TextInput } from 'react-native'
2
+ import React, { useState } from 'react'
3
+ import { COLORS, FONT_NORMAL, WP } from '../themes/config'
4
+ import LinearGradient from 'react-native-linear-gradient'
5
+ import Ionicons from "react-native-vector-icons/Ionicons"
6
+ import { CountryPhoneInput } from '../components'
7
+ import { addClient, deleteClientById, getAllClients, getClientDetails } from '../database/clients'
8
+ import { CLIENT_DETAILS, SUPPLIER_DETAILS } from '../redux/reducers/client/client_types'
9
+ import { useDispatch } from "react-redux"
10
+
11
+ export default function AddScreen({ navigation, route }) {
12
+
13
+ const { type } = route.params;
14
+ const dispatch = useDispatch();
15
+
16
+ const [Name, setName] = useState("");
17
+ const [PhoneNum, setPhoneNum] = useState("");
18
+
19
+ const onAddBtn = () => {
20
+ addClient(Name, PhoneNum, type).then((res) => {
21
+ console.log(res, "Success");
22
+ setName("");
23
+ setPhoneNum("");
24
+ getClientDetails(res?.insertId).then((resp) => {
25
+ dispatch({
26
+ type: CLIENT_DETAILS,
27
+ payload: resp
28
+ })
29
+ navigation.navigate("CustomerEntries")
30
+ })
31
+ }).catch((err) => {
32
+ console.log(err, "Error")
33
+ })
34
+ }
35
+
36
+ const getClients = () => {
37
+ getAllClients()
38
+ .then(res => {
39
+ console.log(res, "Success"); // will log [] if table is empty
40
+ })
41
+ .catch(err => {
42
+ console.log(err, "Error");
43
+ });
44
+ };
45
+
46
+ const removeClient = async (id) => {
47
+ try {
48
+ const deleted = await deleteClientById(id);
49
+ if (deleted) {
50
+ console.log(`Client with id=${id} deleted`);
51
+ } else {
52
+ console.log(`No client found with id=${id}`);
53
+ }
54
+ } catch (err) {
55
+ console.log("Delete error:", err);
56
+ }
57
+ };
58
+
59
+ return (
60
+ <View style={Styles._mainContainers}>
61
+ <LinearGradient
62
+ start={{ x: 0, y: 0 }}
63
+ end={{ x: 1, y: 0 }}
64
+ colors={[COLORS.primaryColor, COLORS.secondaryColor]}
65
+ style={Styles._linearGradient}
66
+ >
67
+ <View style={Styles._titleMain}>
68
+ <TouchableOpacity
69
+ activeOpacity={0.8}
70
+ onPress={() => { navigation.goBack() }}
71
+ >
72
+ <Ionicons
73
+ name={"chevron-back"}
74
+ color={COLORS.whiteColor}
75
+ size={20}
76
+ />
77
+ </TouchableOpacity>
78
+
79
+ <Text style={Styles._title}>Add {type == 0 ? "Customer" : "Supplier"}</Text>
80
+ </View>
81
+ </LinearGradient>
82
+
83
+ <View style={Styles._contentMain}>
84
+ <View style={{ width: "100%", alignItems: "center", gap: 12 }}>
85
+ <TextInput
86
+ placeholder='Type Customer Name'
87
+ style={Styles._input}
88
+ placeholderTextColor={COLORS.grey}
89
+ cursorColor={COLORS.primaryColor}
90
+ value={Name}
91
+ onChangeText={(text) => { setName(text) }}
92
+ />
93
+
94
+ <CountryPhoneInput
95
+ onChange={(text) => { setPhoneNum(text?.fullNumber) }}
96
+ />
97
+ </View>
98
+
99
+ <TouchableOpacity
100
+ activeOpacity={0.8}
101
+ style={[Styles._continueBtn, { backgroundColor: Name == "" ? COLORS.gray : COLORS.primaryColor }]}
102
+ // onPress={() => navigation?.navigate("CustomerEntries")}
103
+ onPress={() => {
104
+ if (Name.trim()) {
105
+ onAddBtn()
106
+ }
107
+ }}
108
+ >
109
+ <Text style={Styles._continueBtnTxt}>Continue</Text>
110
+ </TouchableOpacity>
111
+ </View>
112
+ </View>
113
+ )
114
+ }
115
+
116
+ const Styles = StyleSheet.create({
117
+ _mainContainers: {
118
+ flex: 1,
119
+ backgroundColor: COLORS.backgroundColor,
120
+ alignItems: "center"
121
+ },
122
+ _linearGradient: {
123
+ width: WP(100),
124
+ height: 80,
125
+ alignItems: "center",
126
+ },
127
+ _titleMain: {
128
+ width: WP(94),
129
+ height: 30,
130
+ // backgroundColor: "red",
131
+ flexDirection: "row",
132
+ alignItems: "center",
133
+ marginTop: 10
134
+ },
135
+ _title: {
136
+ color: COLORS.whiteColor,
137
+ fontFamily: FONT_NORMAL,
138
+ fontSize: 15,
139
+ marginLeft: 15
140
+ },
141
+ _contentMain: {
142
+ width: WP(94),
143
+ height: "90%",
144
+ backgroundColor: COLORS.whiteColor,
145
+ position: "absolute",
146
+ top: 50,
147
+ shadowColor: "#000",
148
+ shadowOffset: {
149
+ width: 0,
150
+ height: 2,
151
+ },
152
+ shadowOpacity: 0.2,
153
+ shadowRadius: 3.84,
154
+ elevation: 5,
155
+ borderRadius: 10,
156
+ alignItems: "center",
157
+ justifyContent: "space-between",
158
+ paddingVertical: 12,
159
+ },
160
+ _input: {
161
+ width: "95%",
162
+ height: 50,
163
+ backgroundColor: COLORS.whiteColor,
164
+ borderRadius: 15,
165
+ paddingLeft: 12,
166
+ borderColor: COLORS.grey,
167
+ borderWidth: 1,
168
+ color: COLORS.blackColor,
169
+ fontFamily: FONT_NORMAL,
170
+ fontSize: 13
171
+ },
172
+ _continueBtn: {
173
+ width: "95%",
174
+ height: 50,
175
+ backgroundColor: COLORS.primaryColor,
176
+ borderRadius: 100,
177
+ justifyContent: "center",
178
+ alignItems: "center",
179
+ },
180
+ _continueBtnTxt: {
181
+ color: COLORS.whiteColor,
182
+ fontFamily: FONT_NORMAL,
183
+ fontSize: 17
184
+ },
185
+ })
@@ -0,0 +1,151 @@
1
+ import { View, Text, StyleSheet, TouchableOpacity, ScrollView } from 'react-native'
2
+ import React from 'react'
3
+ import { COLORS, FONT_NORMAL, WP } from '../themes/config'
4
+ import { Balance, Entries, SearchBar, User } from '../components'
5
+ import Ionicons from "react-native-vector-icons/Ionicons"
6
+ import AntDesign from "react-native-vector-icons/AntDesign"
7
+ import FontAwesome6 from "react-native-vector-icons/FontAwesome6"
8
+ import LinearGradient from 'react-native-linear-gradient'
9
+
10
+ export default function Banks() {
11
+
12
+ const data = []
13
+
14
+ return (
15
+ <View style={Styles._mainContainer}>
16
+ <ScrollView
17
+ contentContainerStyle={{ alignItems: "center", paddingBottom: 60 }}
18
+ showsVerticalScrollIndicator={false}
19
+ >
20
+ <Balance greenTitle={"Total purchase of Sep"} redTitle={"You will get"} />
21
+ <Entries marginTop={85}/>
22
+
23
+ <View style={Styles._contentMain}>
24
+ {/* <View style={Styles._searchMain}>
25
+ <View style={Styles._inputMain}>
26
+ <SearchBar />
27
+ </View>
28
+
29
+ <View style={Styles._filterMain}>
30
+ <TouchableOpacity
31
+ activeOpacity={0.8}
32
+ style={Styles._filterBtn}
33
+ >
34
+ <Ionicons
35
+ name={"funnel-outline"}
36
+ color={COLORS.primaryColor}
37
+ size={27}
38
+ />
39
+ </TouchableOpacity>
40
+
41
+ <TouchableOpacity
42
+ activeOpacity={0.8}
43
+ style={Styles._filterBtn}
44
+ >
45
+ <FontAwesome6
46
+ name={"file-pdf"}
47
+ color={COLORS.primaryColor}
48
+ size={23}
49
+ />
50
+ </TouchableOpacity>
51
+ </View>
52
+ </View>
53
+
54
+ <View>
55
+ {
56
+ data.map((item, index) => {
57
+ return (
58
+ <User key={index} name={item?.name} addedAt={item?.addedAt} amount={item?.amount} type={item?.type} avatarColor={item?.avatarColor} />
59
+ )
60
+ })
61
+ }
62
+ </View> */}
63
+ </View>
64
+ </ScrollView>
65
+
66
+ <TouchableOpacity
67
+ style={Styles._floatingBtn}
68
+ activeOpacity={0.8}
69
+ >
70
+ <LinearGradient start={{ x: 0, y: 0 }} end={{ x: 1, y: 0 }} colors={[COLORS.primaryColor, COLORS.secondaryColor]} style={Styles._linearGradient}>
71
+ <AntDesign
72
+ name={"bank"}
73
+ color={COLORS.whiteColor}
74
+ size={22}
75
+ style={{ paddingLeft: 10 }}
76
+ />
77
+
78
+ <Text style={Styles._fabTxt}>ADD BANK</Text>
79
+ </LinearGradient>
80
+ </TouchableOpacity>
81
+ </View>
82
+ )
83
+ }
84
+
85
+ const Styles = StyleSheet.create({
86
+ _mainContainer: {
87
+ flex: 1,
88
+ backgroundColor: COLORS.backgroundColor,
89
+ alignItems: "center",
90
+ },
91
+ _contentMain: {
92
+ width: WP(100),
93
+ // height: 30,
94
+ backgroundColor: COLORS.whiteColor,
95
+ paddingHorizontal: 15,
96
+ marginTop: 6
97
+ },
98
+ _searchMain: {
99
+ width: "100%",
100
+ flexDirection: "row",
101
+ // height:40,
102
+ paddingVertical: 20
103
+ },
104
+ _inputMain: {
105
+ width: "75%"
106
+ },
107
+ _filterMain: {
108
+ flexDirection: "row",
109
+ alignItems: "center",
110
+ justifyContent: "center",
111
+ gap: 11,
112
+ paddingLeft: 10
113
+ },
114
+ _filterBtn: {
115
+ width: 35,
116
+ height: 35,
117
+ justifyContent: "center",
118
+ alignItems: "center"
119
+ // backgroundColor:"red"
120
+ },
121
+ _floatingBtn: {
122
+ width: WP(28),
123
+ height: 42,
124
+ position: "absolute",
125
+ right: 12,
126
+ bottom: 70,
127
+ borderRadius: 40,
128
+ overflow: "hidden",
129
+ shadowColor: "#000",
130
+ shadowOffset: {
131
+ width: 0,
132
+ height: 2,
133
+ },
134
+ shadowOpacity: 0.2,
135
+ shadowRadius: 3.84,
136
+ elevation: 5,
137
+ },
138
+ _linearGradient: {
139
+ width: "100%",
140
+ height: "100%",
141
+ flexDirection: "row",
142
+ justifyContent: "space-between",
143
+ alignItems: "center",
144
+ },
145
+ _fabTxt: {
146
+ color: COLORS.whiteColor,
147
+ fontSize: 12,
148
+ fontFamily: FONT_NORMAL,
149
+ paddingRight: 10,
150
+ },
151
+ })