@jescon-technologies/react-native-ui-kit 0.0.4 → 0.0.5
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 +66 -0
- package/index.js +0 -4
- package/package.json +3 -2
- package/src/Alerts/AAlert.js +3 -3
- package/src/Alerts/AAlertIOS.js +3 -3
- package/src/{common → Common}/NetworkServiceCall.js +1 -1
- package/src/CommonStyle/CommonTheme.js +11 -0
- package/src/CommonStyle/ComponentFunctions.js +632 -0
- package/src/CommonStyle/PopupStyle.js +146 -0
- package/src/CommonStyle/commonStyle.js +93 -0
- package/src/CommonStyle/componentStyle.js +545 -0
- package/src/CommonStyle/optionListStyles.js +175 -0
- package/src/Components/ByProductPage.js +200 -0
- package/src/Components/CDropDownListNew.js +153 -0
- package/src/Components/CSupplierList.js +88 -0
- package/src/Components/CVerificationCard.js +2822 -0
- package/src/Components/CustomButton.js +67 -0
- package/src/Components/CustomCard.js +127 -0
- package/src/Components/CustomTextInput.js +47 -0
- package/src/Components/EquipmentPage.js +313 -0
- package/src/Components/FilterInput.Copy.js +723 -0
- package/src/Components/FilterInput.js +569 -0
- package/src/Components/HSubHeading.js +68 -0
- package/src/Components/HeaderCard.js +40 -0
- package/src/Components/MoreOptionsScreen.js +251 -0
- package/src/Components/NonSwipableProductCard.js +226 -0
- package/src/Components/NonSwipableSupplierCard.js +348 -0
- package/src/Components/ProductCard.js +1336 -0
- package/src/Components/QualityProductCard.js +1059 -0
- package/src/Components/RateProductCard.js +1452 -0
- package/src/Components/RawMaterial.js +261 -0
- package/src/Components/SDropDownEdited.js +549 -0
- package/src/Components/SDropDownNew.js +529 -0
- package/src/Components/SHelpDescription.js +147 -0
- package/src/Components/STextInputNew.js +510 -0
- package/src/Components/SearchProductCard.js +470 -0
- package/src/Components/StageByProduct.js +199 -0
- package/src/Components/SupplierCard.js +243 -0
- package/src/Components/SupplierInvoiceCard.js +405 -0
- package/src/Components/SwipableSupplierCard.js +136 -0
- package/src/Components/TagTemplate.js +74 -0
- package/src/Components/WrappedComponent.js +25 -0
- package/src/Custom/CBooking.js +944 -0
- package/src/Custom/CBookingPostpone.js +1822 -0
- package/src/Custom/CCalendar.js +560 -0
- package/src/Custom/CCard.js +880 -0
- package/src/Custom/CDetailCard.js +205 -0
- package/src/Custom/CHelpImage.js +52 -0
- package/src/Custom/CReport.js +569 -0
- package/src/Custom/CScrollView.js +73 -0
- package/src/Custom/CSignature.js +112 -0
- package/src/Custom/CSliderMenu.js +339 -0
- package/src/Custom/CSupplierCard.js +99 -0
- package/src/Custom/CTemplateCard.js +438 -0
- package/src/Custom/CTokenAllocation.js +1402 -0
- package/src/Custom/CTokenListOverlay.js +122 -0
- package/src/Custom/CWardStatus.js +444 -0
- package/src/Custom/Charts/CBarChart.js +218 -0
- package/src/Custom/Charts/CDashBoardList.js +133 -0
- package/src/Custom/Charts/CDashBoardTable.js +172 -0
- package/src/Custom/Charts/CLineChart.js +193 -0
- package/src/Custom/Charts/CPieChart.js +186 -0
- package/src/Custom/Loader.js +182 -0
- package/src/Custom/OUserView.js +1121 -0
- package/src/Custom/PreviewDosage.js +115 -0
- package/src/Custom/SearchLoader.js +32 -0
- package/src/Custom/TableComponent/CActivityTable.js +707 -0
- package/src/Custom/TableComponent/CMoreButtonTable.js +197 -0
- package/src/Custom/TableComponent/CTable.js +185 -0
- package/src/Custom/TableComponent/CTextBody.js +40 -0
- package/src/Custom/TableComponent/CTextHeader.js +17 -0
- package/src/Custom/TableComponent/PreviewPrescriptionNew.js +1011 -0
- package/src/Custom/TableComponent/SDropdownTable.js +491 -0
- package/src/Custom/TableComponent/TagTable.js +1200 -0
- package/src/CustomComponents/CAddColumn.js +140 -0
- package/src/CustomComponents/CAssessmentDelete.js +307 -0
- package/src/CustomComponents/CAwesomeButton.js +83 -0
- package/src/CustomComponents/CAwesomeMoreButton.js +54 -0
- package/src/CustomComponents/CBackHandler.js +273 -0
- package/src/CustomComponents/CCalendar.js +243 -0
- package/src/CustomComponents/CCommentOverlay.js +202 -0
- package/src/CustomComponents/CComments.js +162 -0
- package/src/CustomComponents/CContainerView.js +24 -0
- package/src/CustomComponents/CCustomTextInput.js +336 -0
- package/src/CustomComponents/CDetailView.js +40 -0
- package/src/CustomComponents/CDropDownList.js +153 -0
- package/src/CustomComponents/CDropdownSelect.js +555 -0
- package/src/CustomComponents/CFooterView.js +42 -0
- package/src/CustomComponents/CImagePickerSave.js +316 -0
- package/src/CustomComponents/CModalOverlay.js +91 -0
- package/src/CustomComponents/CNetworkStatus.js +327 -0
- package/src/CustomComponents/CNotesInstructions.js +1000 -0
- package/src/CustomComponents/COverlay.js +81 -0
- package/src/CustomComponents/CRemarks.js +176 -0
- package/src/CustomComponents/CRowAdd.js +143 -0
- package/src/CustomComponents/CSummaryDropDown.js +327 -0
- package/src/CustomComponents/CText.js +9 -0
- package/src/CustomComponents/CVectorIcon.js +34 -0
- package/src/CustomComponents/HtmlContentViewer.js +65 -0
- package/src/CustomComponents/PdfContentViewer.js +90 -0
- package/src/CustomComponents/SDropDownDosage.js +1087 -0
- package/src/CustomComponents/SwipableProductCard.js +246 -0
- package/src/CustomComponents/SwipableProductImageCard.js +254 -0
- package/src/CustomComponents/WorkOrderDetails.js +1216 -0
- package/src/CustomComponents/WorkOrderDetailsPage.js +1213 -0
- package/src/HOC/ConfirmOverlay.js +2 -2
- package/src/HOC/HMoreButton.js +1 -1
- package/src/HOC/HNatureHeading.js +1 -1
- package/src/HOC/HShadowButton.js +1 -1
- package/src/HOC/HShadowCountButton.js +1 -1
- package/src/Json/Chart.json +818 -0
- package/src/Json/Consultation.json +622 -0
- package/src/Json/CreditBill.json +490 -0
- package/src/Json/Dropdown.json +216 -0
- package/src/Json/DropdownConsultation.json +228 -0
- package/src/Json/DynamicReports.json +623 -0
- package/src/Json/Footer.json +79 -0
- package/src/Media/AudioScreen.js +2 -7
- package/src/Media/CCaptureImageWithoutEdit.js +1 -1
- package/src/Media/CImageGallery.js +2 -2
- package/src/Media/CSingleImage.js +2 -2
- package/src/Media/CVideoPlay.js +1 -1
- package/src/Media/DocumentScreen.js +2 -7
- package/src/Media/DrawingScreen.js +2 -6
- package/src/Media/ImageScreen.js +2 -6
- package/src/Media/VideoScreen.js +2 -7
- package/src/Navigation/PageNavigation.js +224 -0
- package/src/Navigation/useFocusEffect.js +2 -0
- package/src/Navigation/useFocusEffect.native.js +1 -0
- package/src/Navigation/useFocusEffect.web.js +1 -0
- package/src/Navigation/useIsFocused.js +1 -0
- package/src/Navigation/useIsFocused.native.js +1 -0
- package/src/Navigation/useIsFocused.web.js +1 -0
- package/src/Navigation/useNavigation.js +2 -0
- package/src/Navigation/useNavigation.native.js +1 -0
- package/src/Navigation/useNavigation.web.js +1 -0
- package/src/Screens/CMedications.js +528 -0
- package/src/Screens/CWebViewGallery.js +203 -0
- package/src/Screens/ChartScan.js +279 -0
- package/src/Screens/ChartScreenNew.js +1579 -0
- package/src/Screens/Consultation.js +1500 -0
- package/src/Screens/Dashboard.js +778 -0
- package/src/Screens/FileExplorer.js +288 -0
- package/src/Screens/Footer.js +340 -0
- package/src/Screens/ForgotPassword.js +288 -0
- package/src/Screens/HeaderBlock.js +353 -0
- package/src/Screens/Login.js +328 -0
- package/src/Screens/Notification.js +149 -0
- package/src/Screens/OcrScreen.js +20 -0
- package/src/Screens/PdfPreview.js +507 -0
- package/src/Screens/RegistrationDetails.js +467 -0
- package/src/Screens/SearchScreen.js +582 -0
- package/src/Screens/Splash.js +788 -0
- package/src/Screens/SwipeLeftView.js +1867 -0
- package/src/StaticComponents/SDatePickerLabel.js +1 -1
- package/src/StaticComponents/SDatePickerNew.js +1 -1
- package/src/StaticComponents/SDateTimePickerNew.js +2 -2
- package/src/StaticComponents/SDropDownGenerate.js +3 -3
- package/src/StaticComponents/SDropDownHoc.js +4 -4
- package/src/StaticComponents/SDropDownIcon.js +1 -1
- package/src/StaticComponents/SMenuBox.js +2 -2
- package/src/StaticComponents/SSearch.js +2 -2
- package/src/StaticComponents/STextInput.js +1 -1
- package/src/StaticComponents/STimePicker.js +1 -1
- package/src/StaticComponents/STimingDropDownNew.js +2 -6
- package/src/StaticComponents/STimingSwitch.js +1 -1
- package/src/layout/CContainerView.js +1 -1
- package/src/layout/CDetailView.js +3 -3
- package/src/layout/HeaderBlock.js +5 -5
- package/src/layout/INVLoginLayout.js +3 -4
- package/src/layout/Loader.js +2 -2
- package/src/HOC/HAbsolute.js +0 -56
- package/src/HOC/HDiscontinue.js +0 -105
- package/src/HOC/HOverlay.js +0 -99
- package/src/layout/FooterBlock.js +0 -821
- /package/src/{common → Common}/ErrorBoundary.tsx +0 -0
- /package/src/{common → Common}/Icons.js +0 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Alerts
|
|
2
|
+
export const AAlert: any;
|
|
3
|
+
export const AAlertIOS: any;
|
|
4
|
+
export const ABlink: any;
|
|
5
|
+
|
|
6
|
+
// Common
|
|
7
|
+
export const ErrorBoundary: any;
|
|
8
|
+
export const Icons: any;
|
|
9
|
+
export const NetworkServiceCall: any;
|
|
10
|
+
|
|
11
|
+
// HOC (Higher Order Components)
|
|
12
|
+
export const ConfirmOverlay: any;
|
|
13
|
+
export const HHeading: any;
|
|
14
|
+
export const HMoreButton: any;
|
|
15
|
+
export const HNatureHeading: any;
|
|
16
|
+
export const HOCIcons: any;
|
|
17
|
+
export const HOverlayCentered: any;
|
|
18
|
+
export const HShadowButton: any;
|
|
19
|
+
export const HShadowCountButton: any;
|
|
20
|
+
export const OptionOverlay: any;
|
|
21
|
+
|
|
22
|
+
// Layout
|
|
23
|
+
export const CContainerView: any;
|
|
24
|
+
export const CDetailView: any;
|
|
25
|
+
export const HeaderBlock: any;
|
|
26
|
+
export const INVLoginLayout: any;
|
|
27
|
+
export const Loader: any;
|
|
28
|
+
|
|
29
|
+
// Media
|
|
30
|
+
export const AudioScreen: any;
|
|
31
|
+
export const BarcodeScan: any;
|
|
32
|
+
export const CAudioPlay: any;
|
|
33
|
+
export const CCaptureImageWithoutEdit: any;
|
|
34
|
+
export const CImageGallery: any;
|
|
35
|
+
export const CImageZoom: any;
|
|
36
|
+
export const CSingleImage: any;
|
|
37
|
+
export const CSketchCanvas: any;
|
|
38
|
+
export const CVideoPlay: any;
|
|
39
|
+
export const DocumentScreen: any;
|
|
40
|
+
export const DrawingScreen: any;
|
|
41
|
+
export const ImageScreen: any;
|
|
42
|
+
export const RecordAudio: any;
|
|
43
|
+
export const RecordVideo: any;
|
|
44
|
+
export const VideoScreen: any;
|
|
45
|
+
|
|
46
|
+
// Static Components
|
|
47
|
+
export const SAlphabet: any;
|
|
48
|
+
export const SCheckBox: any;
|
|
49
|
+
export const SDatePicker: any;
|
|
50
|
+
export const SDatePickerLabel: any;
|
|
51
|
+
export const SDatePickerNew: any;
|
|
52
|
+
export const SDateTimePickerNew: any;
|
|
53
|
+
export const SDropDownGenerate: any;
|
|
54
|
+
export const SDropDownHoc: any;
|
|
55
|
+
export const SDropDownIcon: any;
|
|
56
|
+
export const SMenuBox: any;
|
|
57
|
+
export const SOverlay: any;
|
|
58
|
+
export const SOverlayTextInput: any;
|
|
59
|
+
export const SSearch: any;
|
|
60
|
+
export const SSearchBar: any;
|
|
61
|
+
export const SSpeedDial: any;
|
|
62
|
+
export const STextInput: any;
|
|
63
|
+
export const STextInputProps: any;
|
|
64
|
+
export const STimePicker: any;
|
|
65
|
+
export const STimingDropDownNew: any;
|
|
66
|
+
export const STimingSwitch: any;
|
package/index.js
CHANGED
|
@@ -10,13 +10,10 @@ export { default as NetworkServiceCall } from './src/common/NetworkServiceCall';
|
|
|
10
10
|
|
|
11
11
|
// HOC (Higher Order Components)
|
|
12
12
|
export { default as ConfirmOverlay } from './src/HOC/ConfirmOverlay';
|
|
13
|
-
export { default as HAbsolute } from './src/HOC/HAbsolute';
|
|
14
|
-
export { default as HDiscontinue } from './src/HOC/HDiscontinue';
|
|
15
13
|
export { default as HHeading } from './src/HOC/HHeading';
|
|
16
14
|
export { default as HMoreButton } from './src/HOC/HMoreButton';
|
|
17
15
|
export { default as HNatureHeading } from './src/HOC/HNatureHeading';
|
|
18
16
|
export { default as HOCIcons } from './src/HOC/HOCIcons';
|
|
19
|
-
export { default as HOverlay } from './src/HOC/HOverlay';
|
|
20
17
|
export { default as HOverlayCentered } from './src/HOC/HOverlayCentered';
|
|
21
18
|
export { default as HShadowButton } from './src/HOC/HShadowButton';
|
|
22
19
|
export { default as HShadowCountButton } from './src/HOC/HShadowCountButton';
|
|
@@ -25,7 +22,6 @@ export { default as OptionOverlay } from './src/HOC/OptionOverlay';
|
|
|
25
22
|
// Layout
|
|
26
23
|
export { default as CContainerView } from './src/layout/CContainerView';
|
|
27
24
|
export { default as CDetailView } from './src/layout/CDetailView';
|
|
28
|
-
export { default as FooterBlock } from './src/layout/FooterBlock';
|
|
29
25
|
export { default as HeaderBlock } from './src/layout/HeaderBlock';
|
|
30
26
|
export { default as INVLoginLayout } from './src/layout/INVLoginLayout';
|
|
31
27
|
export { default as Loader } from './src/layout/Loader';
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jescon-technologies/react-native-ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A React Native module for Jescon Technologies that provides react-native-ui-kit",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
9
|
},
|
package/src/Alerts/AAlert.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useState, memo, useEffect } from 'react';
|
|
2
2
|
import { View, Dimensions, Text, TouchableOpacity, StyleSheet, TextInput, Platform, Image } from 'react-native';
|
|
3
|
-
import { Global } from '
|
|
3
|
+
import { Global } from '../../../../../src/Common/Global';
|
|
4
4
|
import Icons from '../common/Icons';
|
|
5
5
|
import { ValueCheck } from '../CommonStyle/ComponentFunctions';
|
|
6
|
-
import { normalize } from '../CommonStyle/
|
|
6
|
+
import { normalize } from '../CommonStyle/ComponentFunctions';
|
|
7
7
|
import CModalOverlay from '../CustomComponents/CModalOverlay';
|
|
8
8
|
|
|
9
9
|
export default function AAlert(props) {
|
|
@@ -85,7 +85,7 @@ export default function AAlert(props) {
|
|
|
85
85
|
borderRadius: normalize(50),
|
|
86
86
|
}}
|
|
87
87
|
resizeMode={'stretch'}
|
|
88
|
-
source={require('
|
|
88
|
+
source={require('../../../../../android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png')}
|
|
89
89
|
/>
|
|
90
90
|
<Icons.Entypo
|
|
91
91
|
color={"#fff"}
|
package/src/Alerts/AAlertIOS.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, memo, useEffect } from 'react';
|
|
2
2
|
import { View, Dimensions, Text, TouchableOpacity, StyleSheet, TextInput, Platform, Image } from 'react-native';
|
|
3
|
-
import { Global } from '
|
|
4
|
-
import Icons from '../
|
|
3
|
+
import { Global } from '../../../../../src/Common/Global';
|
|
4
|
+
import Icons from '../common/Icons'
|
|
5
5
|
import { ValueCheck } from '../CommonStyle/ComponentFunctions';
|
|
6
6
|
import { normalize } from '../CommonStyle/componentStyle';
|
|
7
7
|
|
|
@@ -56,7 +56,7 @@ export default function AAlertIOS(props) {
|
|
|
56
56
|
alignSelf: 'flex-start'
|
|
57
57
|
}}
|
|
58
58
|
resizeMode={'stretch'}
|
|
59
|
-
source={require('
|
|
59
|
+
source={require('../../../../../android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png')}
|
|
60
60
|
/>
|
|
61
61
|
|
|
62
62
|
<View style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'center', paddingLeft: normalize(15) }}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { isConnected, notifyMessage, ValueCheck } from "../CommonStyle/ComponentFunctions";
|
|
3
|
-
import { Global } from
|
|
3
|
+
import { Global } from '../../../../../src/Common/Global';
|
|
4
4
|
import { Platform } from "react-native";
|
|
5
5
|
|
|
6
6
|
export default NetworkServiceCall = (method, url, params, jwt, timeout) => {
|