@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.
- package/dist/Common/ErrorBoundary.d.ts +15 -0
- package/dist/Common/ErrorBoundary.d.ts.map +1 -0
- package/dist/Common/ErrorBoundary.js +64 -0
- package/dist/Common/ErrorBoundary.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/src/Common/ErrorBoundary.d.ts +15 -0
- package/dist/src/Common/ErrorBoundary.d.ts.map +1 -0
- package/dist/src/Common/ErrorBoundary.js +64 -0
- package/dist/src/Common/ErrorBoundary.js.map +1 -0
- package/package.json +17 -5
- package/.gitattributes +0 -2
- package/index.d.ts +0 -66
- package/index.js +0 -66
- package/src/Alerts/AAlert.js +0 -137
- package/src/Alerts/AAlertIOS.js +0 -97
- package/src/Alerts/ABlink.js +0 -40
- package/src/Common/ErrorBoundary.tsx +0 -73
- package/src/Common/Icons.js +0 -49
- package/src/Common/NetworkServiceCall.js +0 -265
- package/src/CommonStyle/CommonTheme.js +0 -11
- package/src/CommonStyle/ComponentFunctions.js +0 -632
- package/src/CommonStyle/PopupStyle.js +0 -146
- package/src/CommonStyle/commonStyle.js +0 -93
- package/src/CommonStyle/componentStyle.js +0 -545
- package/src/CommonStyle/optionListStyles.js +0 -175
- package/src/Components/ByProductPage.js +0 -200
- package/src/Components/CDropDownListNew.js +0 -153
- package/src/Components/CSupplierList.js +0 -88
- package/src/Components/CVerificationCard.js +0 -2822
- package/src/Components/CustomButton.js +0 -67
- package/src/Components/CustomCard.js +0 -127
- package/src/Components/CustomTextInput.js +0 -47
- package/src/Components/EquipmentPage.js +0 -313
- package/src/Components/FilterInput.Copy.js +0 -723
- package/src/Components/FilterInput.js +0 -569
- package/src/Components/HSubHeading.js +0 -68
- package/src/Components/HeaderCard.js +0 -40
- package/src/Components/MoreOptionsScreen.js +0 -251
- package/src/Components/NonSwipableProductCard.js +0 -226
- package/src/Components/NonSwipableSupplierCard.js +0 -348
- package/src/Components/ProductCard.js +0 -1336
- package/src/Components/QualityProductCard.js +0 -1059
- package/src/Components/RateProductCard.js +0 -1452
- package/src/Components/RawMaterial.js +0 -261
- package/src/Components/SDropDownEdited.js +0 -549
- package/src/Components/SDropDownNew.js +0 -529
- package/src/Components/SHelpDescription.js +0 -147
- package/src/Components/STextInputNew.js +0 -510
- package/src/Components/SearchProductCard.js +0 -470
- package/src/Components/StageByProduct.js +0 -199
- package/src/Components/SupplierCard.js +0 -243
- package/src/Components/SupplierInvoiceCard.js +0 -405
- package/src/Components/SwipableSupplierCard.js +0 -136
- package/src/Components/TagTemplate.js +0 -74
- package/src/Components/WrappedComponent.js +0 -25
- package/src/Custom/CBooking.js +0 -944
- package/src/Custom/CBookingPostpone.js +0 -1822
- package/src/Custom/CCalendar.js +0 -560
- package/src/Custom/CCard.js +0 -880
- package/src/Custom/CDetailCard.js +0 -205
- package/src/Custom/CHelpImage.js +0 -52
- package/src/Custom/CReport.js +0 -569
- package/src/Custom/CScrollView.js +0 -73
- package/src/Custom/CSignature.js +0 -112
- package/src/Custom/CSliderMenu.js +0 -339
- package/src/Custom/CSupplierCard.js +0 -99
- package/src/Custom/CTemplateCard.js +0 -438
- package/src/Custom/CTokenAllocation.js +0 -1402
- package/src/Custom/CTokenListOverlay.js +0 -122
- package/src/Custom/CWardStatus.js +0 -444
- package/src/Custom/Charts/CBarChart.js +0 -218
- package/src/Custom/Charts/CDashBoardList.js +0 -133
- package/src/Custom/Charts/CDashBoardTable.js +0 -172
- package/src/Custom/Charts/CLineChart.js +0 -193
- package/src/Custom/Charts/CPieChart.js +0 -186
- package/src/Custom/Loader.js +0 -182
- package/src/Custom/OUserView.js +0 -1121
- package/src/Custom/PreviewDosage.js +0 -115
- package/src/Custom/SearchLoader.js +0 -32
- package/src/Custom/TableComponent/CActivityTable.js +0 -707
- package/src/Custom/TableComponent/CMoreButtonTable.js +0 -197
- package/src/Custom/TableComponent/CTable.js +0 -185
- package/src/Custom/TableComponent/CTextBody.js +0 -40
- package/src/Custom/TableComponent/CTextHeader.js +0 -17
- package/src/Custom/TableComponent/PreviewPrescriptionNew.js +0 -1011
- package/src/Custom/TableComponent/SDropdownTable.js +0 -491
- package/src/Custom/TableComponent/TagTable.js +0 -1200
- package/src/CustomComponents/CAddColumn.js +0 -140
- package/src/CustomComponents/CAssessmentDelete.js +0 -307
- package/src/CustomComponents/CAwesomeButton.js +0 -83
- package/src/CustomComponents/CAwesomeMoreButton.js +0 -54
- package/src/CustomComponents/CBackHandler.js +0 -273
- package/src/CustomComponents/CCalendar.js +0 -243
- package/src/CustomComponents/CCommentOverlay.js +0 -202
- package/src/CustomComponents/CComments.js +0 -162
- package/src/CustomComponents/CContainerView.js +0 -24
- package/src/CustomComponents/CCustomTextInput.js +0 -336
- package/src/CustomComponents/CDetailView.js +0 -40
- package/src/CustomComponents/CDropDownList.js +0 -153
- package/src/CustomComponents/CDropdownSelect.js +0 -555
- package/src/CustomComponents/CFooterView.js +0 -42
- package/src/CustomComponents/CImagePickerSave.js +0 -316
- package/src/CustomComponents/CModalOverlay.js +0 -91
- package/src/CustomComponents/CNetworkStatus.js +0 -327
- package/src/CustomComponents/CNotesInstructions.js +0 -1000
- package/src/CustomComponents/COverlay.js +0 -81
- package/src/CustomComponents/CRemarks.js +0 -176
- package/src/CustomComponents/CRowAdd.js +0 -143
- package/src/CustomComponents/CSummaryDropDown.js +0 -327
- package/src/CustomComponents/CText.js +0 -9
- package/src/CustomComponents/CVectorIcon.js +0 -34
- package/src/CustomComponents/HtmlContentViewer.js +0 -65
- package/src/CustomComponents/PdfContentViewer.js +0 -90
- package/src/CustomComponents/SDropDownDosage.js +0 -1087
- package/src/CustomComponents/SwipableProductCard.js +0 -246
- package/src/CustomComponents/SwipableProductImageCard.js +0 -254
- package/src/CustomComponents/WorkOrderDetails.js +0 -1216
- package/src/CustomComponents/WorkOrderDetailsPage.js +0 -1213
- package/src/HOC/ConfirmOverlay.js +0 -192
- package/src/HOC/HHeading.js +0 -70
- package/src/HOC/HMoreButton.js +0 -88
- package/src/HOC/HNatureHeading.js +0 -402
- package/src/HOC/HOCIcons.js +0 -80
- package/src/HOC/HOverlayCentered.js +0 -140
- package/src/HOC/HShadowButton.js +0 -45
- package/src/HOC/HShadowCountButton.js +0 -82
- package/src/HOC/OptionOverlay.js +0 -48
- package/src/Json/Chart.json +0 -818
- package/src/Json/Consultation.json +0 -622
- package/src/Json/CreditBill.json +0 -490
- package/src/Json/Dropdown.json +0 -216
- package/src/Json/DropdownConsultation.json +0 -228
- package/src/Json/DynamicReports.json +0 -623
- package/src/Json/Footer.json +0 -79
- package/src/Media/AudioScreen.js +0 -342
- package/src/Media/BarcodeScan.js +0 -145
- package/src/Media/CAudioPlay.js +0 -228
- package/src/Media/CCaptureImageWithoutEdit.js +0 -330
- package/src/Media/CImageGallery.js +0 -289
- package/src/Media/CImageZoom.js +0 -82
- package/src/Media/CSingleImage.js +0 -391
- package/src/Media/CSketchCanvas.js +0 -76
- package/src/Media/CVideoPlay.js +0 -31
- package/src/Media/DocumentScreen.js +0 -362
- package/src/Media/DrawingScreen.js +0 -578
- package/src/Media/ImageScreen.js +0 -309
- package/src/Media/RecordAudio.js +0 -250
- package/src/Media/RecordVideo.js +0 -223
- package/src/Media/VideoScreen.js +0 -378
- package/src/Navigation/PageNavigation.js +0 -224
- package/src/Navigation/useFocusEffect.js +0 -2
- package/src/Navigation/useFocusEffect.native.js +0 -1
- package/src/Navigation/useFocusEffect.web.js +0 -1
- package/src/Navigation/useIsFocused.js +0 -1
- package/src/Navigation/useIsFocused.native.js +0 -1
- package/src/Navigation/useIsFocused.web.js +0 -1
- package/src/Navigation/useNavigation.js +0 -2
- package/src/Navigation/useNavigation.native.js +0 -1
- package/src/Navigation/useNavigation.web.js +0 -1
- package/src/Screens/CMedications.js +0 -528
- package/src/Screens/CWebViewGallery.js +0 -203
- package/src/Screens/ChartScan.js +0 -279
- package/src/Screens/ChartScreenNew.js +0 -1579
- package/src/Screens/Consultation.js +0 -1500
- package/src/Screens/Dashboard.js +0 -778
- package/src/Screens/FileExplorer.js +0 -288
- package/src/Screens/Footer.js +0 -340
- package/src/Screens/ForgotPassword.js +0 -288
- package/src/Screens/HeaderBlock.js +0 -353
- package/src/Screens/Login.js +0 -328
- package/src/Screens/Notification.js +0 -149
- package/src/Screens/OcrScreen.js +0 -20
- package/src/Screens/PdfPreview.js +0 -507
- package/src/Screens/RegistrationDetails.js +0 -467
- package/src/Screens/SearchScreen.js +0 -582
- package/src/Screens/Splash.js +0 -788
- package/src/Screens/SwipeLeftView.js +0 -1867
- package/src/StaticComponents/SAlphabet.js +0 -47
- package/src/StaticComponents/SCheckBox.js +0 -42
- package/src/StaticComponents/SDatePicker.js +0 -208
- package/src/StaticComponents/SDatePickerLabel.js +0 -253
- package/src/StaticComponents/SDatePickerNew.js +0 -258
- package/src/StaticComponents/SDateTimePickerNew.js +0 -381
- package/src/StaticComponents/SDropDownGenerate.js +0 -450
- package/src/StaticComponents/SDropDownHoc.js +0 -636
- package/src/StaticComponents/SDropDownIcon.js +0 -500
- package/src/StaticComponents/SMenuBox.js +0 -131
- package/src/StaticComponents/SOverlay.js +0 -177
- package/src/StaticComponents/SOverlayTextInput.js +0 -109
- package/src/StaticComponents/SSearch.js +0 -438
- package/src/StaticComponents/SSearchBar.js +0 -53
- package/src/StaticComponents/SSpeedDial.js +0 -303
- package/src/StaticComponents/STextInput.js +0 -289
- package/src/StaticComponents/STextInputProps.js +0 -36
- package/src/StaticComponents/STimePicker.js +0 -171
- package/src/StaticComponents/STimingDropDownNew.js +0 -1585
- package/src/StaticComponents/STimingSwitch.js +0 -34
- package/src/layout/CContainerView.js +0 -21
- package/src/layout/CDetailView.js +0 -81
- package/src/layout/HeaderBlock.js +0 -353
- package/src/layout/INVLoginLayout.js +0 -657
- package/src/layout/Loader.js +0 -176
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { StyleSheet } from 'react-native';
|
|
3
|
-
import ComponentStyles, { normalize } from '../CommonStyle/componentStyle';
|
|
4
|
-
import { colors } from '../CommonStyle/commonStyle';
|
|
5
|
-
export function getSearchButtonStyle(backgroundcolor) {
|
|
6
|
-
return (
|
|
7
|
-
{
|
|
8
|
-
...ComponentStyles.searchButton,
|
|
9
|
-
width: '100%',
|
|
10
|
-
backgroundColor: backgroundcolor,
|
|
11
|
-
}
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
export function getListviewItem(selected, borderbottomwidth) {
|
|
15
|
-
return (
|
|
16
|
-
{
|
|
17
|
-
borderColor: '#DCDEDD',
|
|
18
|
-
borderWidth: borderbottomwidth ? 0 : 1,
|
|
19
|
-
borderBottomWidth: 1,
|
|
20
|
-
width: '100%',
|
|
21
|
-
borderRadius: 7,
|
|
22
|
-
backgroundColor: selected ? 'lightblue' : colors.color_DeselectBgCOlor,
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
export function getListviewItemText(selected) {
|
|
27
|
-
return (
|
|
28
|
-
{
|
|
29
|
-
...ComponentStyles.select_TextStyle,
|
|
30
|
-
fontWeight: selected ? 'bold' : 'normal',
|
|
31
|
-
color:selected ? '#094485' : 'black',
|
|
32
|
-
}
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
export function getListviewItemText2(selected) {
|
|
36
|
-
return (
|
|
37
|
-
{
|
|
38
|
-
//...ComponentStyles.select_TextStyle,
|
|
39
|
-
// fontWeight: selected ? 'bold' : 'normal',
|
|
40
|
-
//color:selected ? '#094485':"black",
|
|
41
|
-
backgroundColor:selected ? '#ccd9ff' : 'white',
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
export function getPopupHeadingOption(width) {
|
|
46
|
-
return (
|
|
47
|
-
{
|
|
48
|
-
paddingBottom: 5, flexDirection: 'row',
|
|
49
|
-
justifyContent: 'space-around', width: width * 0.90,
|
|
50
|
-
margin: 5,
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
export function getPopupHeadingOptionText(color) {
|
|
55
|
-
return (
|
|
56
|
-
{
|
|
57
|
-
...ComponentStyles.popup_heading,
|
|
58
|
-
color: 'darkblue',
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
export function getPopupContainerStyle(height) {
|
|
63
|
-
return (
|
|
64
|
-
{
|
|
65
|
-
borderRadius: 20,
|
|
66
|
-
height: height * 0.60,
|
|
67
|
-
// backgroundColor:'blue'
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
export function getPopupTextAreaContainer(width, height) {
|
|
72
|
-
return (
|
|
73
|
-
{
|
|
74
|
-
justifyContent: 'center',
|
|
75
|
-
flex: 1,
|
|
76
|
-
alignItems: 'center',
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
export function getPopupTextAreaChildContainer(width, height, bordercolor) {
|
|
81
|
-
return (
|
|
82
|
-
{
|
|
83
|
-
flexDirection: 'row',
|
|
84
|
-
borderWidth: 1,
|
|
85
|
-
borderColor: bordercolor,
|
|
86
|
-
width: '80%',
|
|
87
|
-
justifyContent: 'flex-start',
|
|
88
|
-
alignItems: 'center',
|
|
89
|
-
borderRadius: 7,
|
|
90
|
-
margin: height * 0.003,
|
|
91
|
-
marginBottom: height * 0.003,
|
|
92
|
-
height: height * 0.30,
|
|
93
|
-
backgroundColor: colors.color_componentBgcolor,
|
|
94
|
-
backgroundColor:'#fff',
|
|
95
|
-
marginTop: 0,
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
export function getPopupTextAreaStyle(width, height) {
|
|
100
|
-
return (
|
|
101
|
-
{
|
|
102
|
-
...ComponentStyles.input_Text,
|
|
103
|
-
textAlignVertical: 'top',
|
|
104
|
-
width: '98%',
|
|
105
|
-
marginLeft: '1%',
|
|
106
|
-
padding: 0, height: '100%',
|
|
107
|
-
marginBottom: -(height * 0.003),
|
|
108
|
-
fontSize:normalize(14),
|
|
109
|
-
fontWeight:'bold',
|
|
110
|
-
}
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
const popupStyles = StyleSheet.create({
|
|
114
|
-
overlay_screen_listview_container: {
|
|
115
|
-
justifyContent: 'center',
|
|
116
|
-
marginBottom: 10,
|
|
117
|
-
},
|
|
118
|
-
overlay_screen_button_view: {
|
|
119
|
-
width: '99%',
|
|
120
|
-
marginTop: 20,
|
|
121
|
-
...ComponentStyles.View_row_center,
|
|
122
|
-
justifyContent: 'space-around',
|
|
123
|
-
},
|
|
124
|
-
overlay_screen_small_button_style: {
|
|
125
|
-
borderRadius: 7,
|
|
126
|
-
height: normalize(40),
|
|
127
|
-
backgroundColor: '#eae5e5',
|
|
128
|
-
width: normalize(60),
|
|
129
|
-
...ComponentStyles.View_col_center,
|
|
130
|
-
},
|
|
131
|
-
overlay_screen_big_button_style: {
|
|
132
|
-
backgroundColor: '#094485',
|
|
133
|
-
borderRadius: 7,
|
|
134
|
-
width: '100%', marginBottom: 30,
|
|
135
|
-
height: 35,
|
|
136
|
-
alignItems: 'center',
|
|
137
|
-
justifyContent: 'center',
|
|
138
|
-
},
|
|
139
|
-
overlay_screen_button_text: {
|
|
140
|
-
fontSize: normalize(12),
|
|
141
|
-
fontWeight: '500',
|
|
142
|
-
color:'black',
|
|
143
|
-
// color: colors.color_buttonText,
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
export default popupStyles;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export let colors = {
|
|
2
|
-
|
|
3
|
-
color_Header: '#0E2F56',
|
|
4
|
-
color_dark_grey: '#606266',
|
|
5
|
-
color_StatusBar: '#0E2F56',
|
|
6
|
-
color_BorderColor: 'gray',
|
|
7
|
-
color_Background_color: '#ebecf0',
|
|
8
|
-
|
|
9
|
-
//Audio
|
|
10
|
-
color_audio_minimumTrackTintColor: '#606266',
|
|
11
|
-
color_audio_maximumTrackTintColor: '#de6a31',
|
|
12
|
-
|
|
13
|
-
//Profile card
|
|
14
|
-
color_profilecard_heading1: '#0C4F60',
|
|
15
|
-
color_profilecard_heading2: '#0C4F60',
|
|
16
|
-
color_hiddenitem_bg_color: 'lightgray',
|
|
17
|
-
|
|
18
|
-
//Error Component
|
|
19
|
-
color_alertCaptionText: '#0C4F60',
|
|
20
|
-
color_errorMoreButton:'#008de6',
|
|
21
|
-
|
|
22
|
-
//online status
|
|
23
|
-
color_Status_online: '#17A589',
|
|
24
|
-
color_Status_offline: '#E74C3C',
|
|
25
|
-
color_Status_busy: '#D4AC0D',
|
|
26
|
-
color_MenuBorderColor: '#051094',
|
|
27
|
-
color_MenuText: '#0E2F56',
|
|
28
|
-
color_SubmenuBorderColor: '#0F52BA',
|
|
29
|
-
color_submenuText: '#0E4D92',
|
|
30
|
-
color_usernameText: '#fff',
|
|
31
|
-
|
|
32
|
-
//Button
|
|
33
|
-
color_button: '#4682B4',
|
|
34
|
-
color_buttonText: '#fff',
|
|
35
|
-
color_InActiveButton: 'lightgray',
|
|
36
|
-
color_error_msg_Text: 'red',
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
//Tabpage
|
|
40
|
-
color_tabpageBgcolor: '#fff',//"#E3E4E5",
|
|
41
|
-
color_tabpageActiveText: '#3e5877',//"#0E2F56",
|
|
42
|
-
color_tabpageActiveTab: '#566d88',//"#0E2F56",
|
|
43
|
-
color_tabpageInActiveText: 'gray',
|
|
44
|
-
color_tabpagePressColor: '#b6c0cc',
|
|
45
|
-
color_tabpageProfileCardBgcolor: '#ABB2B9',
|
|
46
|
-
|
|
47
|
-
//Popup
|
|
48
|
-
color_PopupHeadingText: '#0C4F60',//"#1697B7",
|
|
49
|
-
color_SelectText: '#0C4F60',
|
|
50
|
-
color_DeselectText: 'gray',
|
|
51
|
-
color_SelectBgColor: 'wildsand',
|
|
52
|
-
color_DeselectBgCOlor: '#fff',
|
|
53
|
-
|
|
54
|
-
//Radio Button
|
|
55
|
-
color_SelectRadioBgcolor: 'whitesmoke',//'#F0F0F0',
|
|
56
|
-
color_DeselectRadioBgcolor: 'white',
|
|
57
|
-
color_SelectRadioBordercolor: '#0E2F56',
|
|
58
|
-
colorDeselectRadioBordercolor: 'gray',
|
|
59
|
-
color_RadioInnerBgcolor: 'steelblue',
|
|
60
|
-
|
|
61
|
-
//Component
|
|
62
|
-
color_componentBgcolor: 'whitesmoke',
|
|
63
|
-
color_componentText: '#0C4F60',
|
|
64
|
-
color_componentBordercolor: '#606266',
|
|
65
|
-
color_BorderColor_error: '#CD5C5C',
|
|
66
|
-
color_editedindication_Border: '#428AF8',//"#17A589",//"aqua",//"#5F6A6A",
|
|
67
|
-
color_editedindicationbgcolor: '#F1C40F',
|
|
68
|
-
|
|
69
|
-
// Template status
|
|
70
|
-
color_TemplateDefaultData: '#FFCAED',
|
|
71
|
-
color_RetrieveData: '#F24095',
|
|
72
|
-
color_AddData: 'aqua',
|
|
73
|
-
color_ClassificationData: 'gray',
|
|
74
|
-
|
|
75
|
-
//Result Report
|
|
76
|
-
color_resulttext_high: 'red',
|
|
77
|
-
color_resulttext_low: 'blue',
|
|
78
|
-
color_resulttext_normal: '#283747',
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export let fontWeight = {
|
|
82
|
-
fontWeight_Normal: 'normal',
|
|
83
|
-
fontWeight_Bold: 'bold',
|
|
84
|
-
fontWeight_100: '100',
|
|
85
|
-
fontWeight_200: '200',
|
|
86
|
-
fontWeight_300: '300',
|
|
87
|
-
fontWeight_400: '400',
|
|
88
|
-
fontWeight_500: '500',
|
|
89
|
-
fontWeight_600: '600',
|
|
90
|
-
fontWeight_700: '700',
|
|
91
|
-
fontWeight_800: '800',
|
|
92
|
-
fontWeight_900: '900',
|
|
93
|
-
};
|