@jescon-technologies/react-native-ui-kit 0.0.10 → 0.0.11
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/index.d.ts +9 -2
- package/index.js +8 -1
- package/package.json +1 -1
- package/src/Alerts/AAlert.tsx +3 -3
- package/src/Alerts/AAlertIOS.tsx +2 -2
- package/src/Common/NetworkServiceCall.ts +298 -0
- package/src/CommonStyle/ComponentFunctions.tsx +387 -410
- package/src/CommonStyle/{componentStyle.tsx → componentStyle.ts} +210 -104
- package/src/Custom/Loader.js +182 -0
- package/src/CustomComponents/CBackHandler.tsx +336 -0
- package/src/{Common/Icons.tsx → Hoc/HIcons.tsx} +2 -2
- package/src/Navigation/useFocusEffect.ts +2 -0
- package/src/Navigation/useFocusEffect.web.ts +1 -0
- package/src/Navigation/useIsFocused.ts +1 -0
- package/src/Navigation/useIsFocused.web.ts +1 -0
- package/src/Navigation/useNavigation.ts +2 -0
- package/src/Navigation/useNavigation.web.ts +1 -0
- package/src/Navigation/useFocusEffect.tsx +0 -2
- package/src/Navigation/useFocusEffect.web.tsx +0 -1
- package/src/Navigation/useIsFocused.tsx +0 -1
- package/src/Navigation/useIsFocused.web.tsx +0 -1
- package/src/Navigation/useNavigation.tsx +0 -2
- package/src/Navigation/useNavigation.web.tsx +0 -1
- /package/src/Navigation/{useFocusEffect.native.tsx → useFocusEffect.native.ts} +0 -0
- /package/src/Navigation/{useIsFocused.native.tsx → useIsFocused.native.ts} +0 -0
- /package/src/Navigation/{useNavigation.native.tsx → useNavigation.native.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleSheet, Dimensions, Platform, PixelRatio, Text } from 'react-native';
|
|
1
|
+
import { StyleSheet, Dimensions, Platform, PixelRatio, Text, ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
2
2
|
import { colors, fontWeight } from './commonStyle';
|
|
3
3
|
|
|
4
4
|
const {
|
|
@@ -7,8 +7,106 @@ const {
|
|
|
7
7
|
} = Dimensions.get('window');
|
|
8
8
|
|
|
9
9
|
const scale = SCREEN_WIDTH / 320;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const radio_height = 20;
|
|
11
|
+
|
|
12
|
+
// Type definitions for component styles
|
|
13
|
+
interface ComponentStylesType {
|
|
14
|
+
textinput: ViewStyle;
|
|
15
|
+
viewstyle: ViewStyle;
|
|
16
|
+
textstyle: TextStyle;
|
|
17
|
+
headerTitle: TextStyle;
|
|
18
|
+
headerSubTitle: TextStyle;
|
|
19
|
+
component_Icon: ImageStyle;
|
|
20
|
+
group_Button: ViewStyle;
|
|
21
|
+
group_Button_BadgeStyle: ViewStyle;
|
|
22
|
+
media_Gallery_Container: ViewStyle;
|
|
23
|
+
group_Button_Badge_TextStyle: TextStyle;
|
|
24
|
+
group_Button_Badge_ContainerStyle: ViewStyle;
|
|
25
|
+
no_data_found_text: TextStyle;
|
|
26
|
+
footer_Icon: ImageStyle;
|
|
27
|
+
footer_Icon_Text: TextStyle;
|
|
28
|
+
header_section_conatiner_style: ViewStyle;
|
|
29
|
+
header_section_child_container_style: ViewStyle;
|
|
30
|
+
header_left_menu_icon_container: ViewStyle;
|
|
31
|
+
header_right_menu_icon_container: ViewStyle;
|
|
32
|
+
header_menu_icon: ImageStyle;
|
|
33
|
+
result_view_child_container: ViewStyle;
|
|
34
|
+
result_view_heading_container: ViewStyle;
|
|
35
|
+
result_view_display_Text: TextStyle;
|
|
36
|
+
result_view_viewgraph_container: ViewStyle;
|
|
37
|
+
result_view_viewgraph_text: TextStyle;
|
|
38
|
+
result_view_range_container: ViewStyle;
|
|
39
|
+
result_view_unit_Text: TextStyle;
|
|
40
|
+
result_view_range_child_container: ViewStyle;
|
|
41
|
+
result_view_range_Text: TextStyle;
|
|
42
|
+
result_view_value_container: ViewStyle;
|
|
43
|
+
profilecard_dataContainer: ViewStyle;
|
|
44
|
+
profilecard_left: ViewStyle;
|
|
45
|
+
profilecard_right: ViewStyle;
|
|
46
|
+
profilecard_end_view: ViewStyle;
|
|
47
|
+
profilecard_end_child_view: ViewStyle;
|
|
48
|
+
profilecard_end_button: ViewStyle;
|
|
49
|
+
profilecard_end_button_icon: ImageStyle;
|
|
50
|
+
profilecard_content_left: ViewStyle;
|
|
51
|
+
profilecard_content_right: ViewStyle;
|
|
52
|
+
profilecard_image: ImageStyle;
|
|
53
|
+
profilecard_profilecontent_heading1: TextStyle;
|
|
54
|
+
profilecard_profilecontent_heading2: TextStyle;
|
|
55
|
+
profilecard_onlinestatus_badgecontainer: ViewStyle;
|
|
56
|
+
profilecard_subheading_container: ViewStyle;
|
|
57
|
+
profilecard_subheading_left_container: ViewStyle;
|
|
58
|
+
profilecard_subheading_right_container: ViewStyle;
|
|
59
|
+
profilecard_hiddenitem_container: ViewStyle;
|
|
60
|
+
profilecard_hiddenitem_Child_container: ViewStyle;
|
|
61
|
+
profilecard_hiddenitem_inner_container: ViewStyle;
|
|
62
|
+
profilecard_hiddenitem_left_displaytext: TextStyle;
|
|
63
|
+
profilecard_hiddenitem_left_displayvalue: TextStyle;
|
|
64
|
+
profilecard_hiddenitem_right_displaytext: TextStyle;
|
|
65
|
+
profilecard_hiddenitem_right_displayvalue: TextStyle;
|
|
66
|
+
doctorText: TextStyle;
|
|
67
|
+
input_Text: TextStyle;
|
|
68
|
+
select_TextStyle: TextStyle;
|
|
69
|
+
buttonStyle: ViewStyle;
|
|
70
|
+
buttonText: TextStyle;
|
|
71
|
+
label_underIcon: TextStyle;
|
|
72
|
+
item_TitleLabel: TextStyle;
|
|
73
|
+
item_DOB: TextStyle;
|
|
74
|
+
view_Display_Text: ViewStyle;
|
|
75
|
+
radioContainer: ViewStyle;
|
|
76
|
+
outerRadioButton: ViewStyle;
|
|
77
|
+
radioButtonText: TextStyle;
|
|
78
|
+
innerRadioButton: ViewStyle;
|
|
79
|
+
View_row_center: ViewStyle;
|
|
80
|
+
View_row_flexstart: ViewStyle;
|
|
81
|
+
View_row_flexend: ViewStyle;
|
|
82
|
+
View_row_spacearound: ViewStyle;
|
|
83
|
+
View_col_spacearound: ViewStyle;
|
|
84
|
+
View_col_center: ViewStyle;
|
|
85
|
+
View_col_flexstart: ViewStyle;
|
|
86
|
+
View_col_flexend: ViewStyle;
|
|
87
|
+
mediaoverlay_containerstyle: ViewStyle;
|
|
88
|
+
mediaoverlay_childrenwrapperstyle: ViewStyle;
|
|
89
|
+
mediaoverlay_topline: ViewStyle;
|
|
90
|
+
mediaoverlay_icon: ImageStyle;
|
|
91
|
+
popup_containerStyle: ViewStyle;
|
|
92
|
+
popup_heading: TextStyle;
|
|
93
|
+
mediaoverlay_iconundertext: TextStyle;
|
|
94
|
+
alertHttpstatusText: TextStyle;
|
|
95
|
+
alertCaptionText: TextStyle;
|
|
96
|
+
alertMessageText: TextStyle;
|
|
97
|
+
alertContentText: TextStyle;
|
|
98
|
+
errorMoreButton: TextStyle;
|
|
99
|
+
searchTextbox_View: ViewStyle;
|
|
100
|
+
searchTextbox: TextStyle;
|
|
101
|
+
searchIcon: ImageStyle;
|
|
102
|
+
searchButton: ViewStyle;
|
|
103
|
+
searchButtonText: TextStyle;
|
|
104
|
+
errorMsgText: TextStyle;
|
|
105
|
+
[key: string]: any; // Index signature for any additional styles
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Utility Functions
|
|
109
|
+
export function normalize(size: number): number {
|
|
12
110
|
const newSize = scale < 1.5 ? size * scale : size * 1.6;
|
|
13
111
|
if (Platform.OS === 'ios') {
|
|
14
112
|
return Math.round(PixelRatio.roundToNearestPixel(newSize)) - 2;
|
|
@@ -17,19 +115,18 @@ export function normalize(size) {
|
|
|
17
115
|
}
|
|
18
116
|
}
|
|
19
117
|
|
|
20
|
-
export function width(itemwidth) {
|
|
118
|
+
export function width(itemwidth: number): number {
|
|
21
119
|
return SCREEN_WIDTH * (itemwidth / 100);
|
|
22
120
|
}
|
|
23
121
|
|
|
24
|
-
export function height(itemheight) {
|
|
122
|
+
export function height(itemheight: number): number {
|
|
25
123
|
return SCREEN_HEIGHT * (itemheight / 100);
|
|
26
124
|
}
|
|
27
125
|
|
|
28
|
-
const ComponentStyles = StyleSheet.create({
|
|
126
|
+
const ComponentStyles = StyleSheet.create<ComponentStylesType>({
|
|
29
127
|
textinput: {
|
|
30
128
|
fontSize: normalize(15),
|
|
31
129
|
color: colors.color_componentText,
|
|
32
|
-
// ...ComponentStyles.input_Text,
|
|
33
130
|
width: width(20),
|
|
34
131
|
marginLeft: '1%',
|
|
35
132
|
marginRight: '1%',
|
|
@@ -40,62 +137,68 @@ const ComponentStyles = StyleSheet.create({
|
|
|
40
137
|
fontStyle: 'normal',
|
|
41
138
|
textAlign: 'left',
|
|
42
139
|
borderWidth: 1,
|
|
43
|
-
marginVertical:5,
|
|
44
|
-
borderColor:'lightgrey',
|
|
140
|
+
marginVertical: 5,
|
|
141
|
+
borderColor: 'lightgrey',
|
|
45
142
|
},
|
|
46
143
|
viewstyle: {
|
|
47
144
|
justifyContent: 'center',
|
|
48
145
|
alignContent: 'center',
|
|
49
146
|
alignItems: 'center',
|
|
50
147
|
flexDirection: 'row',
|
|
51
|
-
// width: width(10)
|
|
52
148
|
},
|
|
53
149
|
textstyle: {
|
|
54
150
|
fontSize: normalize(10),
|
|
55
|
-
// width : '50%'
|
|
56
151
|
},
|
|
57
152
|
headerTitle: {
|
|
58
|
-
fontSize: normalize(13),
|
|
153
|
+
fontSize: normalize(13),
|
|
154
|
+
color: '#fff',
|
|
155
|
+
fontWeight: fontWeight.fontWeight_Normal,
|
|
59
156
|
},
|
|
60
157
|
headerSubTitle: {
|
|
61
|
-
fontSize: normalize(11),
|
|
158
|
+
fontSize: normalize(11),
|
|
159
|
+
color: '#fff',
|
|
160
|
+
fontWeight: fontWeight.fontWeight_Normal,
|
|
62
161
|
},
|
|
63
|
-
|
|
64
162
|
component_Icon: {
|
|
65
163
|
height: 25,
|
|
66
164
|
width: 25,
|
|
67
165
|
resizeMode: 'contain',
|
|
68
166
|
},
|
|
69
167
|
group_Button: {
|
|
70
|
-
width: 22,
|
|
168
|
+
width: 22,
|
|
169
|
+
height: 22,
|
|
71
170
|
justifyContent: 'center',
|
|
72
171
|
},
|
|
73
172
|
group_Button_BadgeStyle: {
|
|
74
173
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
75
174
|
opacity: 0.7,
|
|
76
175
|
borderRadius: 100,
|
|
77
|
-
borderWidth: 1,
|
|
78
|
-
|
|
176
|
+
borderWidth: 1,
|
|
177
|
+
borderColor: 'gray',
|
|
79
178
|
},
|
|
80
179
|
media_Gallery_Container: {
|
|
81
|
-
flex: 1,
|
|
180
|
+
flex: 1,
|
|
181
|
+
justifyContent: 'center',
|
|
82
182
|
alignItems: 'center',
|
|
83
183
|
margin: 1,
|
|
84
184
|
},
|
|
85
185
|
group_Button_Badge_TextStyle: {
|
|
86
186
|
color: colors.color_StatusBar,
|
|
87
|
-
fontSize: 10,
|
|
88
|
-
|
|
187
|
+
fontSize: 10,
|
|
188
|
+
fontWeight: 'bold',
|
|
89
189
|
},
|
|
90
190
|
group_Button_Badge_ContainerStyle: {
|
|
91
|
-
position: 'absolute',
|
|
191
|
+
position: 'absolute',
|
|
192
|
+
top: -3,
|
|
193
|
+
left: -5,
|
|
92
194
|
},
|
|
93
195
|
no_data_found_text: {
|
|
94
196
|
fontSize: normalize(12),
|
|
95
197
|
color: colors.color_componentText,
|
|
96
|
-
fontWeight: '800',
|
|
198
|
+
fontWeight: '800',
|
|
199
|
+
alignItems: 'center',
|
|
200
|
+
justifyContent: 'center',
|
|
97
201
|
},
|
|
98
|
-
//footer
|
|
99
202
|
footer_Icon: {
|
|
100
203
|
height: 25,
|
|
101
204
|
width: 25,
|
|
@@ -103,27 +206,27 @@ const ComponentStyles = StyleSheet.create({
|
|
|
103
206
|
alignSelf: 'center',
|
|
104
207
|
opacity: 0.9,
|
|
105
208
|
},
|
|
106
|
-
|
|
107
209
|
footer_Icon_Text: {
|
|
108
210
|
textAlign: 'center',
|
|
109
211
|
fontSize: normalize(6),
|
|
110
212
|
},
|
|
111
|
-
//Header style
|
|
112
213
|
header_section_conatiner_style: {
|
|
113
|
-
|
|
114
214
|
backgroundColor: colors.color_Header,
|
|
115
215
|
justifyContent: 'flex-end',
|
|
116
216
|
padding: 10,
|
|
117
217
|
},
|
|
118
218
|
header_section_child_container_style: {
|
|
119
|
-
flexDirection: 'row',
|
|
120
|
-
|
|
219
|
+
flexDirection: 'row',
|
|
220
|
+
justifyContent: 'space-between',
|
|
221
|
+
margin: 1,
|
|
222
|
+
alignItems: 'flex-end',
|
|
121
223
|
paddingTop: Platform.OS === 'ios' ? '6%' : '3%',
|
|
122
224
|
},
|
|
123
225
|
header_left_menu_icon_container: {
|
|
124
|
-
// backgroundColor: '#F9AA33',
|
|
125
226
|
borderColor: '#000',
|
|
126
|
-
borderRadius: 5,
|
|
227
|
+
borderRadius: 5,
|
|
228
|
+
borderWidth: 0.8,
|
|
229
|
+
justifyContent: 'center',
|
|
127
230
|
},
|
|
128
231
|
header_right_menu_icon_container: {
|
|
129
232
|
borderColor: '#000',
|
|
@@ -131,19 +234,21 @@ const ComponentStyles = StyleSheet.create({
|
|
|
131
234
|
justifyContent: 'center',
|
|
132
235
|
},
|
|
133
236
|
header_menu_icon: {
|
|
134
|
-
height: 27,
|
|
237
|
+
height: 27,
|
|
238
|
+
width: 27,
|
|
239
|
+
margin: 5,
|
|
135
240
|
},
|
|
136
|
-
// Result Report (ResultView, ResultViewDateWise, )
|
|
137
241
|
result_view_child_container: {
|
|
138
|
-
flexDirection: 'row',
|
|
139
|
-
|
|
242
|
+
flexDirection: 'row',
|
|
243
|
+
alignItems: 'center',
|
|
244
|
+
justifyContent: 'center',
|
|
245
|
+
borderBottomWidth: 1,
|
|
140
246
|
borderColor: colors.color_componentBordercolor,
|
|
141
247
|
width: '100%',
|
|
142
|
-
|
|
143
248
|
},
|
|
144
249
|
result_view_heading_container: {
|
|
145
|
-
width: '19%',
|
|
146
|
-
|
|
250
|
+
width: '19%',
|
|
251
|
+
marginLeft: '1%',
|
|
147
252
|
},
|
|
148
253
|
result_view_display_Text: {
|
|
149
254
|
fontSize: normalize(12),
|
|
@@ -154,27 +259,32 @@ const ComponentStyles = StyleSheet.create({
|
|
|
154
259
|
marginTop: '1%',
|
|
155
260
|
},
|
|
156
261
|
result_view_viewgraph_text: {
|
|
157
|
-
color: '#943126',
|
|
262
|
+
color: '#943126',
|
|
263
|
+
fontStyle: 'italic',
|
|
158
264
|
},
|
|
159
265
|
result_view_range_container: {
|
|
160
|
-
width: '9%',
|
|
266
|
+
width: '9%',
|
|
267
|
+
alignItems: 'flex-start',
|
|
161
268
|
},
|
|
162
269
|
result_view_unit_Text: {
|
|
163
270
|
fontSize: normalize(10),
|
|
164
|
-
color: 'black'
|
|
271
|
+
color: 'black',
|
|
165
272
|
fontWeight: 'bold',
|
|
166
273
|
},
|
|
167
274
|
result_view_range_child_container: {
|
|
168
|
-
width: '100%',
|
|
169
|
-
|
|
275
|
+
width: '100%',
|
|
276
|
+
flexDirection: 'column',
|
|
277
|
+
marginTop: '1%',
|
|
278
|
+
alignItems: 'center',
|
|
170
279
|
},
|
|
171
280
|
result_view_range_Text: {
|
|
172
281
|
fontSize: normalize(10),
|
|
173
|
-
color: '#4D5656'
|
|
282
|
+
color: '#4D5656',
|
|
174
283
|
fontWeight: 'normal',
|
|
175
284
|
},
|
|
176
285
|
result_view_value_container: {
|
|
177
|
-
width: '68%',
|
|
286
|
+
width: '68%',
|
|
287
|
+
marginLeft: '1%',
|
|
178
288
|
flexDirection: 'row',
|
|
179
289
|
borderLeftWidth: 0.5,
|
|
180
290
|
borderColor: colors.color_componentBordercolor,
|
|
@@ -188,21 +298,23 @@ const ComponentStyles = StyleSheet.create({
|
|
|
188
298
|
profilecard_left: {
|
|
189
299
|
width: '5%',
|
|
190
300
|
backgroundColor: 'yellow',
|
|
191
|
-
// width: orientation.portrait ? width * 0.35 : width * 0.30,
|
|
192
301
|
},
|
|
193
302
|
profilecard_right: {
|
|
194
|
-
flex: 1,
|
|
195
|
-
|
|
303
|
+
flex: 1,
|
|
304
|
+
justifyContent: 'flex-start',
|
|
305
|
+
paddingLeft: 10,
|
|
306
|
+
paddingTop: 0,
|
|
196
307
|
},
|
|
197
308
|
profilecard_end_view: {
|
|
198
309
|
width: '25%',
|
|
199
310
|
alignItems: 'flex-end',
|
|
200
|
-
// alignItems: 'center', justifyContent: 'center',
|
|
201
311
|
borderRadius: 10,
|
|
202
312
|
},
|
|
203
313
|
profilecard_end_child_view: {
|
|
204
314
|
height: 75,
|
|
205
|
-
justifyContent: 'space-around',
|
|
315
|
+
justifyContent: 'space-around',
|
|
316
|
+
width: '100%',
|
|
317
|
+
alignItems: 'center',
|
|
206
318
|
},
|
|
207
319
|
profilecard_end_button: {
|
|
208
320
|
width: Dimensions.get('screen').width * 0.3,
|
|
@@ -212,30 +324,33 @@ const ComponentStyles = StyleSheet.create({
|
|
|
212
324
|
justifyContent: 'center',
|
|
213
325
|
},
|
|
214
326
|
profilecard_end_button_icon: {
|
|
215
|
-
width: '100%',
|
|
327
|
+
width: '100%',
|
|
328
|
+
height: '100%',
|
|
329
|
+
resizeMode: 'contain',
|
|
216
330
|
},
|
|
217
331
|
profilecard_content_left: {
|
|
218
|
-
justifyContent: 'space-around',
|
|
332
|
+
justifyContent: 'space-around',
|
|
333
|
+
alignItems: 'center',
|
|
219
334
|
},
|
|
220
335
|
profilecard_content_right: {
|
|
221
336
|
width: '90%',
|
|
222
|
-
justifyContent: 'flex-end',
|
|
337
|
+
justifyContent: 'flex-end',
|
|
338
|
+
alignItems: 'center',
|
|
223
339
|
},
|
|
224
340
|
profilecard_image: {
|
|
225
|
-
height: normalize(50),
|
|
226
|
-
|
|
341
|
+
height: normalize(50),
|
|
342
|
+
width: '100%',
|
|
343
|
+
resizeMode: 'contain',
|
|
227
344
|
},
|
|
228
345
|
profilecard_profilecontent_heading1: {
|
|
229
346
|
fontSize: normalize(13),
|
|
230
347
|
fontWeight: 'normal',
|
|
231
348
|
color: colors.color_profilecard_heading1,
|
|
232
|
-
|
|
233
349
|
},
|
|
234
350
|
profilecard_profilecontent_heading2: {
|
|
235
351
|
fontSize: normalize(17),
|
|
236
352
|
fontWeight: 'bold',
|
|
237
353
|
color: colors.color_profilecard_heading2,
|
|
238
|
-
|
|
239
354
|
},
|
|
240
355
|
profilecard_onlinestatus_badgecontainer: {
|
|
241
356
|
position: 'absolute',
|
|
@@ -246,25 +361,22 @@ const ComponentStyles = StyleSheet.create({
|
|
|
246
361
|
flexDirection: 'row',
|
|
247
362
|
justifyContent: 'space-between',
|
|
248
363
|
width: '98%',
|
|
249
|
-
|
|
250
364
|
},
|
|
251
365
|
profilecard_subheading_left_container: {
|
|
252
366
|
width: '50%',
|
|
253
|
-
justifyContent: 'flex-end',
|
|
254
|
-
|
|
367
|
+
justifyContent: 'flex-end',
|
|
368
|
+
alignItems: 'flex-end',
|
|
255
369
|
},
|
|
256
370
|
profilecard_subheading_right_container: {
|
|
257
|
-
// width: orientation.portrait ? width * 0.28 : width * 0.27,
|
|
258
371
|
width: '49%',
|
|
259
372
|
paddingLeft: '1%',
|
|
260
|
-
|
|
261
373
|
},
|
|
262
374
|
profilecard_hiddenitem_container: {
|
|
263
375
|
flexDirection: 'row',
|
|
264
376
|
width: '100%',
|
|
265
377
|
height: normalize(60),
|
|
266
378
|
marginVertical: normalize(2),
|
|
267
|
-
alignItems:'center',
|
|
379
|
+
alignItems: 'center',
|
|
268
380
|
justifyContent: 'space-evenly',
|
|
269
381
|
},
|
|
270
382
|
profilecard_hiddenitem_Child_container: {
|
|
@@ -276,25 +388,34 @@ const ComponentStyles = StyleSheet.create({
|
|
|
276
388
|
width: '100%',
|
|
277
389
|
},
|
|
278
390
|
profilecard_hiddenitem_left_displaytext: {
|
|
279
|
-
marginTop: 1,
|
|
280
|
-
|
|
391
|
+
marginTop: 1,
|
|
392
|
+
marginLeft: 5,
|
|
393
|
+
textAlign: 'left',
|
|
394
|
+
fontSize: normalize(8),
|
|
281
395
|
fontWeight: 'bold',
|
|
282
396
|
color: '#606266',
|
|
283
397
|
},
|
|
284
398
|
profilecard_hiddenitem_left_displayvalue: {
|
|
285
|
-
marginTop: 1,
|
|
286
|
-
|
|
399
|
+
marginTop: 1,
|
|
400
|
+
marginLeft: 12,
|
|
401
|
+
textAlign: 'left',
|
|
402
|
+
fontSize: normalize(10),
|
|
287
403
|
fontWeight: 'bold',
|
|
288
404
|
color: '#0C4F60',
|
|
289
405
|
},
|
|
290
406
|
profilecard_hiddenitem_right_displaytext: {
|
|
291
|
-
marginTop: 0,
|
|
292
|
-
|
|
407
|
+
marginTop: 0,
|
|
408
|
+
marginRight: 5,
|
|
409
|
+
textAlign: 'right',
|
|
410
|
+
fontSize: normalize(8),
|
|
293
411
|
fontWeight: 'bold',
|
|
294
412
|
color: '#606266',
|
|
295
413
|
},
|
|
296
414
|
profilecard_hiddenitem_right_displayvalue: {
|
|
297
|
-
marginTop: 1,
|
|
415
|
+
marginTop: 1,
|
|
416
|
+
marginRight: 12,
|
|
417
|
+
textAlign: 'right',
|
|
418
|
+
fontSize: normalize(10),
|
|
298
419
|
fontWeight: 'bold',
|
|
299
420
|
color: '#0C4F60',
|
|
300
421
|
},
|
|
@@ -302,7 +423,6 @@ const ComponentStyles = StyleSheet.create({
|
|
|
302
423
|
fontSize: normalize(16),
|
|
303
424
|
fontWeight: 'bold',
|
|
304
425
|
},
|
|
305
|
-
|
|
306
426
|
input_Text: {
|
|
307
427
|
fontSize: normalize(14),
|
|
308
428
|
color: colors.color_componentText,
|
|
@@ -330,30 +450,18 @@ const ComponentStyles = StyleSheet.create({
|
|
|
330
450
|
item_TitleLabel: {
|
|
331
451
|
fontSize: normalize(10),
|
|
332
452
|
color: colors.color_dark_grey,
|
|
333
|
-
// fontWeight:fontWeight.fontWeight_600
|
|
334
|
-
// padding:5,
|
|
335
|
-
// paddingBottom:0,
|
|
336
453
|
},
|
|
337
454
|
item_DOB: {
|
|
338
455
|
fontSize: normalize(10),
|
|
339
456
|
fontWeight: 'bold',
|
|
340
|
-
// color: colors.color_dark_grey,
|
|
341
|
-
// fontWeight:fontWeight.fontWeight_600
|
|
342
|
-
// padding:5,
|
|
343
|
-
// paddingBottom:0,
|
|
344
457
|
},
|
|
345
458
|
view_Display_Text: {
|
|
346
|
-
// justifyContent: 'center',
|
|
347
459
|
width: '100%',
|
|
348
|
-
// paddingLeft: Dimensions.get("window").width * 0.005
|
|
349
460
|
},
|
|
350
|
-
|
|
351
461
|
radioContainer: {
|
|
352
462
|
flexGrow: 1,
|
|
353
463
|
flexDirection: 'row',
|
|
354
|
-
width:'20%',
|
|
355
|
-
// padding: 10
|
|
356
|
-
// paddingRight:20,
|
|
464
|
+
width: '20%',
|
|
357
465
|
paddingVertical: 5,
|
|
358
466
|
},
|
|
359
467
|
outerRadioButton: {
|
|
@@ -373,8 +481,6 @@ const ComponentStyles = StyleSheet.create({
|
|
|
373
481
|
borderRadius: radio_height / 2,
|
|
374
482
|
backgroundColor: 'darkblue',
|
|
375
483
|
},
|
|
376
|
-
|
|
377
|
-
//alignment//
|
|
378
484
|
View_row_center: {
|
|
379
485
|
justifyContent: 'center',
|
|
380
486
|
alignContent: 'center',
|
|
@@ -423,8 +529,6 @@ const ComponentStyles = StyleSheet.create({
|
|
|
423
529
|
alignContent: 'flex-end',
|
|
424
530
|
alignItems: 'flex-end',
|
|
425
531
|
},
|
|
426
|
-
|
|
427
|
-
//alignment ends here//
|
|
428
532
|
mediaoverlay_containerstyle: {
|
|
429
533
|
position: 'absolute',
|
|
430
534
|
left: 0,
|
|
@@ -432,19 +536,13 @@ const ComponentStyles = StyleSheet.create({
|
|
|
432
536
|
elevation: 999,
|
|
433
537
|
alignItems: 'center',
|
|
434
538
|
zIndex: 10000,
|
|
435
|
-
// backgroundColor:'rgba(0,0,0,0)',
|
|
436
539
|
backgroundColor: 'rgba(0, 0, 0, 0.50)',
|
|
437
540
|
justifyContent: 'flex-end',
|
|
438
|
-
// height:Dimensions.get("window").height ,
|
|
439
541
|
flex: 1,
|
|
440
542
|
},
|
|
441
543
|
mediaoverlay_childrenwrapperstyle: {
|
|
442
|
-
// width:Dimensions.get("window").width,
|
|
443
|
-
// backgroundColor:'red',
|
|
444
544
|
borderTopLeftRadius: 20,
|
|
445
545
|
borderTopRightRadius: 20,
|
|
446
|
-
// height:Dimensions.get("window").height*0.30,
|
|
447
|
-
// padding:Dimensions.get("window").height*0.01,
|
|
448
546
|
marginBottom: 0,
|
|
449
547
|
},
|
|
450
548
|
mediaoverlay_topline: {
|
|
@@ -453,7 +551,10 @@ const ComponentStyles = StyleSheet.create({
|
|
|
453
551
|
width: Dimensions.get('window').width * 0.10,
|
|
454
552
|
},
|
|
455
553
|
mediaoverlay_icon: {
|
|
456
|
-
width: 35,
|
|
554
|
+
width: 35,
|
|
555
|
+
height: 35,
|
|
556
|
+
justifyContent: 'center',
|
|
557
|
+
resizeMode: 'contain',
|
|
457
558
|
},
|
|
458
559
|
popup_containerStyle: {
|
|
459
560
|
backgroundColor: 'rgba(0, 0, 0, 0.65)',
|
|
@@ -497,7 +598,6 @@ const ComponentStyles = StyleSheet.create({
|
|
|
497
598
|
fontWeight: 'bold',
|
|
498
599
|
textAlign: 'center',
|
|
499
600
|
},
|
|
500
|
-
|
|
501
601
|
searchTextbox_View: {
|
|
502
602
|
flexDirection: 'row',
|
|
503
603
|
borderWidth: 0,
|
|
@@ -505,24 +605,29 @@ const ComponentStyles = StyleSheet.create({
|
|
|
505
605
|
justifyContent: 'flex-start',
|
|
506
606
|
alignItems: 'flex-start',
|
|
507
607
|
borderRadius: 7,
|
|
508
|
-
// margin: Dimensions.get("window").height * 0.002,
|
|
509
608
|
marginBottom: Dimensions.get('window').height * 0.003,
|
|
510
609
|
height: 35,
|
|
511
|
-
// width:'100%',
|
|
512
610
|
backgroundColor: '#f1f3f6',
|
|
513
|
-
|
|
514
|
-
|
|
611
|
+
marginTop: 0,
|
|
612
|
+
padding: 5,
|
|
515
613
|
},
|
|
516
614
|
searchTextbox: {
|
|
517
615
|
color: 'black',
|
|
518
|
-
width: '100%',
|
|
519
|
-
|
|
616
|
+
width: '100%',
|
|
617
|
+
marginLeft: '1%',
|
|
618
|
+
marginRight: '1%',
|
|
619
|
+
fontWeight: 'bold',
|
|
520
620
|
fontSize: normalize(18),
|
|
521
621
|
textAlign: 'justify',
|
|
522
|
-
padding: 0,
|
|
622
|
+
padding: 0,
|
|
623
|
+
height: '100%',
|
|
624
|
+
marginBottom: -(Dimensions.get('window').height * 0.003),
|
|
523
625
|
},
|
|
524
626
|
searchIcon: {
|
|
525
|
-
width: 20,
|
|
627
|
+
width: 20,
|
|
628
|
+
height: 20,
|
|
629
|
+
margin: 5,
|
|
630
|
+
resizeMode: 'contain',
|
|
526
631
|
},
|
|
527
632
|
searchButton: {
|
|
528
633
|
height: 35,
|
|
@@ -542,4 +647,5 @@ const ComponentStyles = StyleSheet.create({
|
|
|
542
647
|
color: colors.color_error_msg_Text,
|
|
543
648
|
},
|
|
544
649
|
});
|
|
545
|
-
|
|
650
|
+
|
|
651
|
+
export default ComponentStyles;
|