@jescon-technologies/react-native-ui-kit 0.0.5 → 0.0.7

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 (205) hide show
  1. package/dist/Common/ErrorBoundary.d.ts +15 -0
  2. package/dist/Common/ErrorBoundary.d.ts.map +1 -0
  3. package/dist/Common/ErrorBoundary.js +64 -0
  4. package/dist/Common/ErrorBoundary.js.map +1 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.js +8 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/src/Common/ErrorBoundary.d.ts +15 -0
  10. package/dist/src/Common/ErrorBoundary.d.ts.map +1 -0
  11. package/dist/src/Common/ErrorBoundary.js +64 -0
  12. package/dist/src/Common/ErrorBoundary.js.map +1 -0
  13. package/package.json +17 -5
  14. package/.gitattributes +0 -2
  15. package/index.d.ts +0 -66
  16. package/index.js +0 -66
  17. package/src/Alerts/AAlert.js +0 -137
  18. package/src/Alerts/AAlertIOS.js +0 -97
  19. package/src/Alerts/ABlink.js +0 -40
  20. package/src/Common/ErrorBoundary.tsx +0 -73
  21. package/src/Common/Icons.js +0 -49
  22. package/src/Common/NetworkServiceCall.js +0 -265
  23. package/src/CommonStyle/CommonTheme.js +0 -11
  24. package/src/CommonStyle/ComponentFunctions.js +0 -632
  25. package/src/CommonStyle/PopupStyle.js +0 -146
  26. package/src/CommonStyle/commonStyle.js +0 -93
  27. package/src/CommonStyle/componentStyle.js +0 -545
  28. package/src/CommonStyle/optionListStyles.js +0 -175
  29. package/src/Components/ByProductPage.js +0 -200
  30. package/src/Components/CDropDownListNew.js +0 -153
  31. package/src/Components/CSupplierList.js +0 -88
  32. package/src/Components/CVerificationCard.js +0 -2822
  33. package/src/Components/CustomButton.js +0 -67
  34. package/src/Components/CustomCard.js +0 -127
  35. package/src/Components/CustomTextInput.js +0 -47
  36. package/src/Components/EquipmentPage.js +0 -313
  37. package/src/Components/FilterInput.Copy.js +0 -723
  38. package/src/Components/FilterInput.js +0 -569
  39. package/src/Components/HSubHeading.js +0 -68
  40. package/src/Components/HeaderCard.js +0 -40
  41. package/src/Components/MoreOptionsScreen.js +0 -251
  42. package/src/Components/NonSwipableProductCard.js +0 -226
  43. package/src/Components/NonSwipableSupplierCard.js +0 -348
  44. package/src/Components/ProductCard.js +0 -1336
  45. package/src/Components/QualityProductCard.js +0 -1059
  46. package/src/Components/RateProductCard.js +0 -1452
  47. package/src/Components/RawMaterial.js +0 -261
  48. package/src/Components/SDropDownEdited.js +0 -549
  49. package/src/Components/SDropDownNew.js +0 -529
  50. package/src/Components/SHelpDescription.js +0 -147
  51. package/src/Components/STextInputNew.js +0 -510
  52. package/src/Components/SearchProductCard.js +0 -470
  53. package/src/Components/StageByProduct.js +0 -199
  54. package/src/Components/SupplierCard.js +0 -243
  55. package/src/Components/SupplierInvoiceCard.js +0 -405
  56. package/src/Components/SwipableSupplierCard.js +0 -136
  57. package/src/Components/TagTemplate.js +0 -74
  58. package/src/Components/WrappedComponent.js +0 -25
  59. package/src/Custom/CBooking.js +0 -944
  60. package/src/Custom/CBookingPostpone.js +0 -1822
  61. package/src/Custom/CCalendar.js +0 -560
  62. package/src/Custom/CCard.js +0 -880
  63. package/src/Custom/CDetailCard.js +0 -205
  64. package/src/Custom/CHelpImage.js +0 -52
  65. package/src/Custom/CReport.js +0 -569
  66. package/src/Custom/CScrollView.js +0 -73
  67. package/src/Custom/CSignature.js +0 -112
  68. package/src/Custom/CSliderMenu.js +0 -339
  69. package/src/Custom/CSupplierCard.js +0 -99
  70. package/src/Custom/CTemplateCard.js +0 -438
  71. package/src/Custom/CTokenAllocation.js +0 -1402
  72. package/src/Custom/CTokenListOverlay.js +0 -122
  73. package/src/Custom/CWardStatus.js +0 -444
  74. package/src/Custom/Charts/CBarChart.js +0 -218
  75. package/src/Custom/Charts/CDashBoardList.js +0 -133
  76. package/src/Custom/Charts/CDashBoardTable.js +0 -172
  77. package/src/Custom/Charts/CLineChart.js +0 -193
  78. package/src/Custom/Charts/CPieChart.js +0 -186
  79. package/src/Custom/Loader.js +0 -182
  80. package/src/Custom/OUserView.js +0 -1121
  81. package/src/Custom/PreviewDosage.js +0 -115
  82. package/src/Custom/SearchLoader.js +0 -32
  83. package/src/Custom/TableComponent/CActivityTable.js +0 -707
  84. package/src/Custom/TableComponent/CMoreButtonTable.js +0 -197
  85. package/src/Custom/TableComponent/CTable.js +0 -185
  86. package/src/Custom/TableComponent/CTextBody.js +0 -40
  87. package/src/Custom/TableComponent/CTextHeader.js +0 -17
  88. package/src/Custom/TableComponent/PreviewPrescriptionNew.js +0 -1011
  89. package/src/Custom/TableComponent/SDropdownTable.js +0 -491
  90. package/src/Custom/TableComponent/TagTable.js +0 -1200
  91. package/src/CustomComponents/CAddColumn.js +0 -140
  92. package/src/CustomComponents/CAssessmentDelete.js +0 -307
  93. package/src/CustomComponents/CAwesomeButton.js +0 -83
  94. package/src/CustomComponents/CAwesomeMoreButton.js +0 -54
  95. package/src/CustomComponents/CBackHandler.js +0 -273
  96. package/src/CustomComponents/CCalendar.js +0 -243
  97. package/src/CustomComponents/CCommentOverlay.js +0 -202
  98. package/src/CustomComponents/CComments.js +0 -162
  99. package/src/CustomComponents/CContainerView.js +0 -24
  100. package/src/CustomComponents/CCustomTextInput.js +0 -336
  101. package/src/CustomComponents/CDetailView.js +0 -40
  102. package/src/CustomComponents/CDropDownList.js +0 -153
  103. package/src/CustomComponents/CDropdownSelect.js +0 -555
  104. package/src/CustomComponents/CFooterView.js +0 -42
  105. package/src/CustomComponents/CImagePickerSave.js +0 -316
  106. package/src/CustomComponents/CModalOverlay.js +0 -91
  107. package/src/CustomComponents/CNetworkStatus.js +0 -327
  108. package/src/CustomComponents/CNotesInstructions.js +0 -1000
  109. package/src/CustomComponents/COverlay.js +0 -81
  110. package/src/CustomComponents/CRemarks.js +0 -176
  111. package/src/CustomComponents/CRowAdd.js +0 -143
  112. package/src/CustomComponents/CSummaryDropDown.js +0 -327
  113. package/src/CustomComponents/CText.js +0 -9
  114. package/src/CustomComponents/CVectorIcon.js +0 -34
  115. package/src/CustomComponents/HtmlContentViewer.js +0 -65
  116. package/src/CustomComponents/PdfContentViewer.js +0 -90
  117. package/src/CustomComponents/SDropDownDosage.js +0 -1087
  118. package/src/CustomComponents/SwipableProductCard.js +0 -246
  119. package/src/CustomComponents/SwipableProductImageCard.js +0 -254
  120. package/src/CustomComponents/WorkOrderDetails.js +0 -1216
  121. package/src/CustomComponents/WorkOrderDetailsPage.js +0 -1213
  122. package/src/HOC/ConfirmOverlay.js +0 -192
  123. package/src/HOC/HHeading.js +0 -70
  124. package/src/HOC/HMoreButton.js +0 -88
  125. package/src/HOC/HNatureHeading.js +0 -402
  126. package/src/HOC/HOCIcons.js +0 -80
  127. package/src/HOC/HOverlayCentered.js +0 -140
  128. package/src/HOC/HShadowButton.js +0 -45
  129. package/src/HOC/HShadowCountButton.js +0 -82
  130. package/src/HOC/OptionOverlay.js +0 -48
  131. package/src/Json/Chart.json +0 -818
  132. package/src/Json/Consultation.json +0 -622
  133. package/src/Json/CreditBill.json +0 -490
  134. package/src/Json/Dropdown.json +0 -216
  135. package/src/Json/DropdownConsultation.json +0 -228
  136. package/src/Json/DynamicReports.json +0 -623
  137. package/src/Json/Footer.json +0 -79
  138. package/src/Media/AudioScreen.js +0 -342
  139. package/src/Media/BarcodeScan.js +0 -145
  140. package/src/Media/CAudioPlay.js +0 -228
  141. package/src/Media/CCaptureImageWithoutEdit.js +0 -330
  142. package/src/Media/CImageGallery.js +0 -289
  143. package/src/Media/CImageZoom.js +0 -82
  144. package/src/Media/CSingleImage.js +0 -391
  145. package/src/Media/CSketchCanvas.js +0 -76
  146. package/src/Media/CVideoPlay.js +0 -31
  147. package/src/Media/DocumentScreen.js +0 -362
  148. package/src/Media/DrawingScreen.js +0 -578
  149. package/src/Media/ImageScreen.js +0 -309
  150. package/src/Media/RecordAudio.js +0 -250
  151. package/src/Media/RecordVideo.js +0 -223
  152. package/src/Media/VideoScreen.js +0 -378
  153. package/src/Navigation/PageNavigation.js +0 -224
  154. package/src/Navigation/useFocusEffect.js +0 -2
  155. package/src/Navigation/useFocusEffect.native.js +0 -1
  156. package/src/Navigation/useFocusEffect.web.js +0 -1
  157. package/src/Navigation/useIsFocused.js +0 -1
  158. package/src/Navigation/useIsFocused.native.js +0 -1
  159. package/src/Navigation/useIsFocused.web.js +0 -1
  160. package/src/Navigation/useNavigation.js +0 -2
  161. package/src/Navigation/useNavigation.native.js +0 -1
  162. package/src/Navigation/useNavigation.web.js +0 -1
  163. package/src/Screens/CMedications.js +0 -528
  164. package/src/Screens/CWebViewGallery.js +0 -203
  165. package/src/Screens/ChartScan.js +0 -279
  166. package/src/Screens/ChartScreenNew.js +0 -1579
  167. package/src/Screens/Consultation.js +0 -1500
  168. package/src/Screens/Dashboard.js +0 -778
  169. package/src/Screens/FileExplorer.js +0 -288
  170. package/src/Screens/Footer.js +0 -340
  171. package/src/Screens/ForgotPassword.js +0 -288
  172. package/src/Screens/HeaderBlock.js +0 -353
  173. package/src/Screens/Login.js +0 -328
  174. package/src/Screens/Notification.js +0 -149
  175. package/src/Screens/OcrScreen.js +0 -20
  176. package/src/Screens/PdfPreview.js +0 -507
  177. package/src/Screens/RegistrationDetails.js +0 -467
  178. package/src/Screens/SearchScreen.js +0 -582
  179. package/src/Screens/Splash.js +0 -788
  180. package/src/Screens/SwipeLeftView.js +0 -1867
  181. package/src/StaticComponents/SAlphabet.js +0 -47
  182. package/src/StaticComponents/SCheckBox.js +0 -42
  183. package/src/StaticComponents/SDatePicker.js +0 -208
  184. package/src/StaticComponents/SDatePickerLabel.js +0 -253
  185. package/src/StaticComponents/SDatePickerNew.js +0 -258
  186. package/src/StaticComponents/SDateTimePickerNew.js +0 -381
  187. package/src/StaticComponents/SDropDownGenerate.js +0 -450
  188. package/src/StaticComponents/SDropDownHoc.js +0 -636
  189. package/src/StaticComponents/SDropDownIcon.js +0 -500
  190. package/src/StaticComponents/SMenuBox.js +0 -131
  191. package/src/StaticComponents/SOverlay.js +0 -177
  192. package/src/StaticComponents/SOverlayTextInput.js +0 -109
  193. package/src/StaticComponents/SSearch.js +0 -438
  194. package/src/StaticComponents/SSearchBar.js +0 -53
  195. package/src/StaticComponents/SSpeedDial.js +0 -303
  196. package/src/StaticComponents/STextInput.js +0 -289
  197. package/src/StaticComponents/STextInputProps.js +0 -36
  198. package/src/StaticComponents/STimePicker.js +0 -171
  199. package/src/StaticComponents/STimingDropDownNew.js +0 -1585
  200. package/src/StaticComponents/STimingSwitch.js +0 -34
  201. package/src/layout/CContainerView.js +0 -21
  202. package/src/layout/CDetailView.js +0 -81
  203. package/src/layout/HeaderBlock.js +0 -353
  204. package/src/layout/INVLoginLayout.js +0 -657
  205. package/src/layout/Loader.js +0 -176
@@ -1,545 +0,0 @@
1
- import { StyleSheet, Dimensions, Platform, PixelRatio, Text } from 'react-native';
2
- import { colors, fontWeight } from './commonStyle';
3
-
4
- const {
5
- width: SCREEN_WIDTH,
6
- height: SCREEN_HEIGHT,
7
- } = Dimensions.get('window');
8
-
9
- const scale = SCREEN_WIDTH / 320;
10
- var radio_height = 20;
11
- export function normalize(size) {
12
- const newSize = scale < 1.5 ? size * scale : size * 1.6;
13
- if (Platform.OS === 'ios') {
14
- return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;
15
- } else {
16
- return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;
17
- }
18
- }
19
-
20
- export function width(itemwidth) {
21
- return SCREEN_WIDTH * (itemwidth / 100);
22
- }
23
-
24
- export function height(itemheight) {
25
- return SCREEN_HEIGHT * (itemheight / 100);
26
- }
27
-
28
- export const ComponentStyles = StyleSheet.create({
29
- textinput: {
30
- fontSize: normalize(15),
31
- color: colors.color_componentText,
32
- // ...ComponentStyles.input_Text,
33
- width: width(20),
34
- marginLeft: '1%',
35
- marginRight: '1%',
36
- padding: 0,
37
- height: SCREEN_HEIGHT * 0.03,
38
- marginBottom: height(3),
39
- fontWeight: 'normal',
40
- fontStyle: 'normal',
41
- textAlign: 'left',
42
- borderWidth: 1,
43
- marginVertical:5,
44
- borderColor:'lightgrey',
45
- },
46
- viewstyle: {
47
- justifyContent: 'center',
48
- alignContent: 'center',
49
- alignItems: 'center',
50
- flexDirection: 'row',
51
- // width: width(10)
52
- },
53
- textstyle: {
54
- fontSize: normalize(10),
55
- // width : '50%'
56
- },
57
- headerTitle: {
58
- fontSize: normalize(13), color: '#fff', fontWeight: fontWeight.fontWeight_Normal,
59
- },
60
- headerSubTitle: {
61
- fontSize: normalize(11), color: '#fff', fontWeight: fontWeight.fontWeight_Normal,
62
- },
63
-
64
- component_Icon: {
65
- height: 25,
66
- width: 25,
67
- resizeMode: 'contain',
68
- },
69
- group_Button: {
70
- width: 22, height: 22,
71
- justifyContent: 'center',
72
- },
73
- group_Button_BadgeStyle: {
74
- backgroundColor: 'rgba(0,0,0,0)',
75
- opacity: 0.7,
76
- borderRadius: 100,
77
- borderWidth: 1, borderColor: 'gray',
78
-
79
- },
80
- media_Gallery_Container: {
81
- flex: 1, justifyContent: 'center',
82
- alignItems: 'center',
83
- margin: 1,
84
- },
85
- group_Button_Badge_TextStyle: {
86
- color: colors.color_StatusBar,
87
- fontSize: 10, fontWeight: 'bold',
88
-
89
- },
90
- group_Button_Badge_ContainerStyle: {
91
- position: 'absolute', top: -3, left: -5,
92
- },
93
- no_data_found_text: {
94
- fontSize: normalize(12),
95
- color: colors.color_componentText,
96
- fontWeight: '800', alignItems: 'center', justifyContent: 'center',
97
- },
98
- //footer
99
- footer_Icon: {
100
- height: 25,
101
- width: 25,
102
- alignItems: 'center',
103
- alignSelf: 'center',
104
- opacity: 0.9,
105
- },
106
-
107
- footer_Icon_Text: {
108
- textAlign: 'center',
109
- fontSize: normalize(6),
110
- },
111
- //Header style
112
- header_section_conatiner_style: {
113
-
114
- backgroundColor: colors.color_Header,
115
- justifyContent: 'flex-end',
116
- padding: 10,
117
- },
118
- header_section_child_container_style: {
119
- flexDirection: 'row', justifyContent: 'space-between',
120
- margin: 1, alignItems: 'flex-end',
121
- paddingTop: Platform.OS === 'ios' ? '6%' : '3%',
122
- },
123
- header_left_menu_icon_container: {
124
- // backgroundColor: '#F9AA33',
125
- borderColor: '#000',
126
- borderRadius: 5, borderWidth: 0.8, justifyContent: 'center',
127
- },
128
- header_right_menu_icon_container: {
129
- borderColor: '#000',
130
- borderRadius: 5,
131
- justifyContent: 'center',
132
- },
133
- header_menu_icon: {
134
- height: 27, width: 27, margin: 5,
135
- },
136
- // Result Report (ResultView, ResultViewDateWise, )
137
- result_view_child_container: {
138
- flexDirection: 'row', alignItems: 'center',
139
- justifyContent: 'center', borderBottomWidth: 1,
140
- borderColor: colors.color_componentBordercolor,
141
- width: '100%',
142
-
143
- },
144
- result_view_heading_container: {
145
- width: '19%', marginLeft: '1%',
146
-
147
- },
148
- result_view_display_Text: {
149
- fontSize: normalize(12),
150
- color: colors.color_componentText,
151
- fontWeight: '800',
152
- },
153
- result_view_viewgraph_container: {
154
- marginTop: '1%',
155
- },
156
- result_view_viewgraph_text: {
157
- color: '#943126', fontStyle: 'italic',
158
- },
159
- result_view_range_container: {
160
- width: '9%', alignItems: 'flex-start',
161
- },
162
- result_view_unit_Text: {
163
- fontSize: normalize(10),
164
- color: 'black',//"#606266",
165
- fontWeight: 'bold',
166
- },
167
- result_view_range_child_container: {
168
- width: '100%', flexDirection: 'column',
169
- marginTop: '1%', alignItems: 'center',
170
- },
171
- result_view_range_Text: {
172
- fontSize: normalize(10),
173
- color: '#4D5656',//"#606266",
174
- fontWeight: 'normal',
175
- },
176
- result_view_value_container: {
177
- width: '68%', marginLeft: '1%',
178
- flexDirection: 'row',
179
- borderLeftWidth: 0.5,
180
- borderColor: colors.color_componentBordercolor,
181
- },
182
- profilecard_dataContainer: {
183
- flex: 1,
184
- zIndex: 1,
185
- flexDirection: 'row',
186
- padding: 1,
187
- },
188
- profilecard_left: {
189
- width: '5%',
190
- backgroundColor: 'yellow',
191
- // width: orientation.portrait ? width * 0.35 : width * 0.30,
192
- },
193
- profilecard_right: {
194
- flex: 1, justifyContent: 'flex-start', paddingLeft: 10, paddingTop: 0,
195
- // alignItems: 'center',
196
- },
197
- profilecard_end_view: {
198
- width: '25%',
199
- alignItems: 'flex-end',
200
- // alignItems: 'center', justifyContent: 'center',
201
- borderRadius: 10,
202
- },
203
- profilecard_end_child_view: {
204
- height: 75,
205
- justifyContent: 'space-around', width: '100%', alignItems: 'center',
206
- },
207
- profilecard_end_button: {
208
- width: Dimensions.get('screen').width * 0.3,
209
- height: Dimensions.get('screen').height * 0.04,
210
- marginTop: 10,
211
- alignItems: 'center',
212
- justifyContent: 'center',
213
- },
214
- profilecard_end_button_icon: {
215
- width: '100%', height: '100%', resizeMode: 'contain',
216
- },
217
- profilecard_content_left: {
218
- justifyContent: 'space-around', alignItems: 'center',
219
- },
220
- profilecard_content_right: {
221
- width: '90%',
222
- justifyContent: 'flex-end', alignItems: 'center',
223
- },
224
- profilecard_image: {
225
- height: normalize(50), width: '100%', resizeMode: 'contain',
226
-
227
- },
228
- profilecard_profilecontent_heading1: {
229
- fontSize: normalize(13),
230
- fontWeight: 'normal',
231
- color: colors.color_profilecard_heading1,
232
-
233
- },
234
- profilecard_profilecontent_heading2: {
235
- fontSize: normalize(17),
236
- fontWeight: 'bold',
237
- color: colors.color_profilecard_heading2,
238
-
239
- },
240
- profilecard_onlinestatus_badgecontainer: {
241
- position: 'absolute',
242
- top: normalize(5),
243
- right: normalize(8),
244
- },
245
- profilecard_subheading_container: {
246
- flexDirection: 'row',
247
- justifyContent: 'space-between',
248
- width: '98%',
249
-
250
- },
251
- profilecard_subheading_left_container: {
252
- width: '50%',
253
- justifyContent: 'flex-end', alignItems: 'flex-end',
254
-
255
- },
256
- profilecard_subheading_right_container: {
257
- // width: orientation.portrait ? width * 0.28 : width * 0.27,
258
- width: '49%',
259
- paddingLeft: '1%',
260
-
261
- },
262
- profilecard_hiddenitem_container: {
263
- flexDirection: 'row',
264
- width: '100%',
265
- height: normalize(60),
266
- marginVertical: normalize(2),
267
- alignItems:'center',
268
- justifyContent: 'space-evenly',
269
- },
270
- profilecard_hiddenitem_Child_container: {
271
- width: '70%',
272
- backgroundColor: '#fff',
273
- borderRadius: 10,
274
- },
275
- profilecard_hiddenitem_inner_container: {
276
- width: '100%',
277
- },
278
- profilecard_hiddenitem_left_displaytext: {
279
- marginTop: 1, marginLeft: 5,
280
- textAlign: 'left', fontSize: normalize(8),
281
- fontWeight: 'bold',
282
- color: '#606266',
283
- },
284
- profilecard_hiddenitem_left_displayvalue: {
285
- marginTop: 1, marginLeft: 12,
286
- textAlign: 'left', fontSize: normalize(10),
287
- fontWeight: 'bold',
288
- color: '#0C4F60',
289
- },
290
- profilecard_hiddenitem_right_displaytext: {
291
- marginTop: 0, marginRight: 5,
292
- textAlign: 'right', fontSize: normalize(8),
293
- fontWeight: 'bold',
294
- color: '#606266',
295
- },
296
- profilecard_hiddenitem_right_displayvalue: {
297
- marginTop: 1, marginRight: 12, textAlign: 'right', fontSize: normalize(10),
298
- fontWeight: 'bold',
299
- color: '#0C4F60',
300
- },
301
- doctorText: {
302
- fontSize: normalize(16),
303
- fontWeight: 'bold',
304
- },
305
-
306
- input_Text: {
307
- fontSize: normalize(14),
308
- color: colors.color_componentText,
309
- },
310
- select_TextStyle: {
311
- alignContent: 'center',
312
- margin: Dimensions.get('window').height * 0.004,
313
- alignItems: 'center',
314
- textAlign: 'left',
315
- fontSize: normalize(14),
316
- },
317
- buttonStyle: {
318
- flexDirection: 'row',
319
- alignItems: 'center',
320
- justifyContent: 'space-between',
321
- borderRadius: 10,
322
- },
323
- buttonText: {
324
- fontSize: normalize(20),
325
- color: colors.color_buttonText,
326
- },
327
- label_underIcon: {
328
- fontSize: normalize(6),
329
- },
330
- item_TitleLabel: {
331
- fontSize: normalize(10),
332
- color: colors.color_dark_grey,
333
- // fontWeight:fontWeight.fontWeight_600
334
- // padding:5,
335
- // paddingBottom:0,
336
- },
337
- item_DOB: {
338
- fontSize: normalize(10),
339
- fontWeight: 'bold',
340
- // color: colors.color_dark_grey,
341
- // fontWeight:fontWeight.fontWeight_600
342
- // padding:5,
343
- // paddingBottom:0,
344
- },
345
- view_Display_Text: {
346
- // justifyContent: 'center',
347
- width: '100%',
348
- // paddingLeft: Dimensions.get("window").width * 0.005
349
- },
350
-
351
- radioContainer: {
352
- flexGrow: 1,
353
- flexDirection: 'row',
354
- width:'20%',
355
- // padding: 10
356
- // paddingRight:20,
357
- paddingVertical: 5,
358
- },
359
- outerRadioButton: {
360
- alignItems: 'center',
361
- justifyContent: 'center',
362
- height: radio_height,
363
- width: radio_height,
364
- borderRadius: radio_height / 2,
365
- borderWidth: 1,
366
- },
367
- radioButtonText: {
368
- fontSize: normalize(11),
369
- },
370
- innerRadioButton: {
371
- height: radio_height / 1.3,
372
- width: radio_height / 1.3,
373
- borderRadius: radio_height / 2,
374
- backgroundColor: 'darkblue',
375
- },
376
-
377
- //alignment//
378
- View_row_center: {
379
- justifyContent: 'center',
380
- alignContent: 'center',
381
- alignItems: 'center',
382
- flexDirection: 'row',
383
- },
384
- View_row_flexstart: {
385
- flexDirection: 'row',
386
- justifyContent: 'flex-start',
387
- alignContent: 'flex-start',
388
- alignItems: 'flex-start',
389
- },
390
- View_row_flexend: {
391
- flexDirection: 'row',
392
- justifyContent: 'flex-end',
393
- alignContent: 'flex-end',
394
- alignItems: 'flex-end',
395
- },
396
- View_row_spacearound: {
397
- flexDirection: 'row',
398
- justifyContent: 'space-around',
399
- alignContent: 'center',
400
- alignItems: 'center',
401
- },
402
- View_col_spacearound: {
403
- flexDirection: 'column',
404
- justifyContent: 'space-around',
405
- alignContent: 'center',
406
- alignItems: 'center',
407
- },
408
- View_col_center: {
409
- justifyContent: 'center',
410
- alignContent: 'center',
411
- alignItems: 'center',
412
- flexDirection: 'column',
413
- },
414
- View_col_flexstart: {
415
- flexDirection: 'column',
416
- justifyContent: 'flex-start',
417
- alignContent: 'flex-start',
418
- alignItems: 'flex-start',
419
- },
420
- View_col_flexend: {
421
- flexDirection: 'column',
422
- justifyContent: 'flex-end',
423
- alignContent: 'flex-end',
424
- alignItems: 'flex-end',
425
- },
426
-
427
- //alignment ends here//
428
- mediaoverlay_containerstyle: {
429
- position: 'absolute',
430
- left: 0,
431
- right: 0,
432
- elevation: 999,
433
- alignItems: 'center',
434
- zIndex: 10000,
435
- // backgroundColor:'rgba(0,0,0,0)',
436
- backgroundColor: 'rgba(0, 0, 0, 0.50)',
437
- justifyContent: 'flex-end',
438
- // height:Dimensions.get("window").height ,
439
- flex: 1,
440
- },
441
- mediaoverlay_childrenwrapperstyle: {
442
- // width:Dimensions.get("window").width,
443
- // backgroundColor:'red',
444
- borderTopLeftRadius: 20,
445
- borderTopRightRadius: 20,
446
- // height:Dimensions.get("window").height*0.30,
447
- // padding:Dimensions.get("window").height*0.01,
448
- marginBottom: 0,
449
- },
450
- mediaoverlay_topline: {
451
- height: Dimensions.get('window').height * 0.003,
452
- backgroundColor: colors.color_button,
453
- width: Dimensions.get('window').width * 0.10,
454
- },
455
- mediaoverlay_icon: {
456
- width: 35, height: 35, justifyContent: 'center', resizeMode: 'contain',
457
- },
458
- popup_containerStyle: {
459
- backgroundColor: 'rgba(0, 0, 0, 0.65)',
460
- },
461
- popup_heading: {
462
- fontSize: normalize(12),
463
- fontWeight: 'bold',
464
- paddingLeft: Dimensions.get('window').width * 0.02,
465
- color: colors.color_PopupHeadingText,
466
- },
467
- mediaoverlay_iconundertext: {
468
- fontSize: normalize(8),
469
- },
470
- alertHttpstatusText: {
471
- fontSize: normalize(12),
472
- color: colors.color_dark_grey,
473
- fontWeight: fontWeight.fontWeight_Bold,
474
- },
475
- alertCaptionText: {
476
- marginTop: 5,
477
- fontWeight: 'bold',
478
- fontSize: normalize(15),
479
- color: colors.color_alertCaptionText,
480
- },
481
- alertMessageText: {
482
- fontSize: normalize(12),
483
- color: colors.color_dark_grey,
484
- fontWeight: fontWeight.fontWeight_Bold,
485
- textAlign: 'justify',
486
- },
487
- alertContentText: {
488
- fontSize: normalize(10),
489
- color: 'red',
490
- fontWeight: 'bold',
491
- textAlign: 'center',
492
- textAlign: 'justify',
493
- },
494
- errorMoreButton: {
495
- fontSize: normalize(10),
496
- color: colors.color_errorMoreButton,
497
- fontWeight: 'bold',
498
- textAlign: 'center',
499
- },
500
-
501
- searchTextbox_View: {
502
- flexDirection: 'row',
503
- borderWidth: 0,
504
- borderColor: colors.color_componentBordercolor,
505
- justifyContent: 'flex-start',
506
- alignItems: 'flex-start',
507
- borderRadius: 7,
508
- // margin: Dimensions.get("window").height * 0.002,
509
- marginBottom: Dimensions.get('window').height * 0.003,
510
- height: 35,
511
- // width:'100%',
512
- backgroundColor: '#f1f3f6',
513
- // backgroundColor:colors.color_componentBgcolor,
514
- marginTop: 0,padding:5,
515
- },
516
- searchTextbox: {
517
- color: 'black',
518
- width: '100%', marginLeft: '1%', marginRight: '1%',
519
- fontWeight:'bold',
520
- fontSize: normalize(18),
521
- textAlign: 'justify',
522
- padding: 0, height: '100%', marginBottom: -(Dimensions.get('window').height * 0.003),
523
- },
524
- searchIcon: {
525
- width: 20, height: 20, margin: 5, resizeMode: 'contain',
526
- },
527
- searchButton: {
528
- height: 35,
529
- width: '20%',
530
- borderRadius: 7,
531
- justifyContent: 'center',
532
- alignItems: 'center',
533
- alignContent: 'center',
534
- },
535
- searchButtonText: {
536
- fontSize: normalize(10),
537
- fontWeight: 'bold',
538
- color: colors.color_buttonText,
539
- padding: 1,
540
- },
541
- errorMsgText: {
542
- color: colors.color_error_msg_Text,
543
- },
544
- });
545
- export default ComponentStyles;
@@ -1,175 +0,0 @@
1
- import { StyleSheet} from 'react-native';
2
- import { Global } from '../../../../../src/Common/Global';
3
- import { colors, fontWeight } from './commonStyle'; import { normalize } from './componentStyle';
4
-
5
- const styles = StyleSheet.create({
6
- profile_icon_container: {
7
- height: '100%', justifyContent: 'center', flex: 2,
8
- },
9
- profile_icon_style: {
10
- width: '100%', height: '70%', borderRadius: 0, resizeMode: 'contain',
11
- },
12
- user_details_container: {
13
- height: '100%',
14
- justifyContent: 'center',
15
- flex: 4,
16
- },
17
- logout_icon_container: {
18
- height: '100%',
19
- justifyContent: 'center',
20
- alignItems: 'center',
21
- flex: 1,
22
- },
23
- logout_icon_style: {
24
- width: '60%',
25
- height: '40%',
26
- borderRadius: 100,
27
- resizeMode: 'contain',
28
- },
29
- option_menu_icon: {
30
- width: 40, height: 40, marginLeft: 20,
31
- },
32
- option_submenu_icon: {
33
- width: 30, height: 30, marginLeft: 15, resizeMode: 'contain',
34
- },
35
- option_menu_text: {
36
- marginLeft: 5, fontSize: normalize(14),
37
- fontWeight: '600',
38
- color:'#fff',
39
- },
40
- option_detail_help_url_icon: {
41
- width: 20, height: 20, marginLeft: 15, borderRadius: 100,
42
- resizeMode:'contain',
43
- },
44
- option_selection_container: {
45
- flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', flex: 4,
46
- },
47
- option_submenu_child_container: {
48
- // backgroundColor: '#fff',
49
- flexDirection: 'row',
50
- justifyContent: 'flex-start',
51
- alignContent: 'center',
52
- alignItems: 'center', margin: 5,
53
- borderRadius: 10,
54
- // elevation: 5,
55
- // borderLeftWidth: 5,
56
- // borderWidth: 0.5,
57
- // borderColor: colors.color_SubmenuBorderColor
58
- },
59
- option_menu_container: {
60
- // backgroundColor: '#fff',
61
- flexDirection: 'row',
62
- justifyContent: 'flex-start',
63
- alignContent: 'center',
64
- alignItems: 'center',
65
- margin: 2,
66
- height: 32,
67
- borderRadius: 10,
68
- //elevation: 5,
69
- // borderLeftWidth: 5,
70
- // elevation:1,
71
- // borderWidth: 0.5,
72
- // borderColor: colors.color_MenuBorderColor,
73
- },
74
- option_block: {
75
- flex: 1, width: '100%',backgroundColor: Global.AppTheme.primary_color,
76
- },
77
- option_error_msg: {
78
- justifyContent: 'center', alignItems: 'center', padding: 5,
79
- },
80
- usernameStyle: {
81
- color: colors.color_usernameText,
82
- fontSize: 16,
83
- fontWeight: fontWeight.fontWeight_Bold,
84
- },
85
- departmeNameStyle: {
86
- color: '#C1C6D0',
87
- fontSize: 12,
88
- },
89
- dataListContainerStyle: {
90
- justifyContent: 'flex-start',
91
- flex: 1,
92
- marginBottom: 20,
93
- alignItems: 'flex-start',
94
- paddingLeft: 5,
95
- paddingTop: 5,
96
- },
97
- });
98
- export function getOptionContainerStyle(height) {
99
- return (
100
- {
101
- position: 'absolute',
102
- left: 0,
103
- right: 0,
104
- elevation: 999,
105
- alignItems: 'flex-start',
106
- margin: 0,
107
- zIndex: 10000,
108
- backgroundColor: 'rgba(0, 0, 0, 0.10)',
109
- justifyContent: 'flex-start',
110
- height: height,
111
- }
112
- );
113
- }
114
- export function getOptionchildrenWrapperStyle(width, height) {
115
- return (
116
- {
117
- // backgroundColor: colors.color_Header,
118
- backgroundColor: Global.AppTheme.primary_color,
119
- width: width,
120
- height: height,
121
- margin: -20,
122
- }
123
- );
124
- }
125
- export function getOptionHeaderContainer(height) {
126
- return (
127
- {
128
- backgroundColor: Global.AppTheme.primary_color,
129
- // backgroundColor: colors.color_Header,
130
- flexDirection: 'row',
131
- height: height * 0.10, alignItems: 'flex-end',
132
- }
133
- );
134
- }
135
- export function getOptionMenu(width) {
136
- return (
137
- {
138
- width: width * 0.85,
139
- marginLeft: width * 0.02,
140
- ...styles.option_menu_container,
141
- }
142
- );
143
- }
144
- export function getOptionSubmenuContainer(width) {
145
- return (
146
- { width: width * 0.85, marginLeft: width * 0.03 }
147
- );
148
- }
149
- export function getOptionSubmenuChildContainer(width) {
150
- return (
151
- {
152
- width: width * 0.82,
153
- ...styles.option_submenu_child_container,
154
- height:30,
155
- }
156
- );
157
- }
158
- export function getOptionSubmenuText(width) {
159
- return (
160
- {
161
- marginLeft: 20, fontSize: normalize(12), fontWeight: '400',
162
- color:'#fff',
163
- width: width * 0.55,
164
- }
165
- );
166
- }
167
- export function getoptiondetailhelpurlContainer(width) {
168
- return (
169
- {
170
- alignItems: 'flex-end',
171
- justifyContent: 'center', flex: 1, paddingRight: width * 0.02,
172
- }
173
- );
174
- }
175
- export default styles;