@abihealth/goapp-react-native 1.15.0 → 1.16.0
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/CHANGELOG.md +16 -0
- package/dist/common/animations/Animation.js +1 -1
- package/dist/common/animations/FindingAnimation/index.js +1 -1
- package/dist/common/animations/LoadingCircleAnimation/index.js +1 -1
- package/dist/common/animations/LoadingHeart.js +1 -1
- package/dist/common/api/models/auth.d.ts +8 -0
- package/dist/common/api/models/consultation.d.ts +1 -1
- package/dist/common/components/ActionSheet.js +1 -1
- package/dist/common/components/AnswerScreen/Card.js +1 -1
- package/dist/common/components/AnswerScreen/CloseConsultationActionSheet.js +3 -3
- package/dist/common/components/AnswerScreen/DeliveryAddressCard.d.ts +1 -1
- package/dist/common/components/AnswerScreen/DeliveryAddressCard.js +2 -2
- package/dist/common/components/AnswerScreen/PrescriptionCard/PrescriptionCardHeader.d.ts +1 -1
- package/dist/common/components/AnswerScreen/PrescriptionCard/PrescriptionCardHeader.js +4 -4
- package/dist/common/components/AnswerScreen/PrescriptionCard/index.d.ts +1 -1
- package/dist/common/components/AnswerScreen/PrescriptionCard/index.js +4 -4
- package/dist/common/components/AnswerScreen/Summary.js +3 -3
- package/dist/common/components/BackgroundPattern.js +2 -2
- package/dist/common/components/Button.js +2 -2
- package/dist/common/components/CancelConsultationButton.js +2 -2
- package/dist/common/components/Checkbox.js +2 -2
- package/dist/common/components/DateInput.js +3 -3
- package/dist/common/components/DoctorProfileCard.d.ts +1 -1
- package/dist/common/components/DoctorProfileCard.js +16 -15
- package/dist/common/components/FormControl.js +1 -1
- package/dist/common/components/FormWrapper.d.ts +1 -1
- package/dist/common/components/FormWrapper.js +2 -2
- package/dist/common/components/Header.js +1 -1
- package/dist/common/components/Input.js +2 -2
- package/dist/common/components/Modal/AttachmentPreviewModal.js +4 -4
- package/dist/common/components/Modal/CancelModal.js +3 -3
- package/dist/common/components/Modal/CloseConsultationModal.js +3 -3
- package/dist/common/components/Modal/DoctorProfileModal.js +3 -3
- package/dist/common/components/Modal/ModalHeader.js +2 -2
- package/dist/common/components/Modal/TwoOptionsModal.js +1 -1
- package/dist/common/components/Modal/index.js +2 -2
- package/dist/common/components/PhoneInput.js +2 -2
- package/dist/common/components/Reminder.js +8 -8
- package/dist/common/components/ScreenWrapper.d.ts +2 -1
- package/dist/common/components/ScreenWrapper.js +4 -4
- package/dist/common/components/Select.js +2 -2
- package/dist/common/components/Text.js +3 -3
- package/dist/common/contexts/ConsultationContext.d.ts +2 -1
- package/dist/common/contexts/ConsultationContext.js +21 -9
- package/dist/common/contexts/ThemeContext.d.ts +1 -1
- package/dist/common/contexts/ThemeContext.js +1 -1
- package/dist/{video-consultations → common}/helpers/eventHandler.d.ts +2 -1
- package/dist/{video-consultations → common}/helpers/eventHandler.js +22 -21
- package/dist/common/hooks/useConsultation.js +1 -1
- package/dist/common/hooks/useCustomComponents.js +1 -1
- package/dist/common/hooks/useForm.js +1 -1
- package/dist/common/hooks/useHeader.js +1 -1
- package/dist/common/hooks/useTheme.js +1 -1
- package/dist/common/hooks/useTranslation.d.ts +9 -0
- package/dist/common/hooks/useTranslation.js +47 -0
- package/dist/common/hooks/useUser.js +1 -1
- package/dist/common/icons/AbiLogoIcon.js +1 -1
- package/dist/common/icons/BackArrowIcon.js +1 -1
- package/dist/common/icons/CloseIcon.js +1 -1
- package/dist/common/icons/DoctorIcon.js +1 -1
- package/dist/common/icons/DoctorImagePlaceholderIcon.js +1 -1
- package/dist/common/icons/ExitIcon.js +1 -1
- package/dist/common/icons/InfoIcon.js +1 -1
- package/dist/common/icons/MotorbikeIcon.js +1 -1
- package/dist/common/icons/NoCaseFoundIcon.js +1 -1
- package/dist/common/icons/PdfDownloadIcon.js +1 -1
- package/dist/common/icons/PdfIcon.js +1 -1
- package/dist/common/icons/PersonIcon.js +1 -1
- package/dist/common/icons/PillsIcon.js +1 -1
- package/dist/common/icons/PlaneIcon.js +1 -1
- package/dist/common/icons/RatingIcon.js +1 -1
- package/dist/common/icons/StarIcon.js +1 -1
- package/dist/common/icons/TextConsultationIcon.js +1 -1
- package/dist/common/icons/TrashIcon.js +1 -1
- package/dist/common/locale/i18n.d.ts +0 -1
- package/dist/common/locale/i18n.js +52 -22
- package/dist/common/locale/translations/bg.prescriptionSurveys.json +27 -0
- package/dist/common/locale/translations/de.base.json +328 -0
- package/dist/common/locale/translations/de.prescriptionSurveys.json +183 -0
- package/dist/common/locale/translations/en.base.json +2 -0
- package/dist/common/locale/translations/en.prescriptionSurveys.json +535 -0
- package/dist/common/locale/translations/es-MX.prescriptionSurveys.json +535 -0
- package/dist/common/locale/translations/fr.base.json +16 -0
- package/dist/common/locale/translations/hr.prescriptionSurveys.json +1 -0
- package/dist/common/locale/translations/hu.prescriptionSurveys.json +27 -0
- package/dist/common/locale/translations/it.base.json +328 -0
- package/dist/common/locale/translations/it.prescriptionSurveys.json +376 -0
- package/dist/common/locale/translations/sl.prescriptionSurveys.json +375 -0
- package/dist/common/locale/translations/zh-CN.prescriptionSurveys.json +382 -0
- package/dist/common/locale/translations/zh-HK.prescriptionSurveys.json +535 -0
- package/dist/common/locale/translations/zh-SG.prescriptionSurveys.json +382 -0
- package/dist/common/locale/translations/zh-TW.prescriptionSurveys.json +535 -0
- package/dist/common/screens/AnswerScreen.d.ts +1 -1
- package/dist/common/screens/AnswerScreen.js +5 -5
- package/dist/common/screens/MatchScreen.d.ts +1 -1
- package/dist/common/screens/MatchScreen.js +5 -5
- package/dist/common/screens/MatchingScreen.js +5 -5
- package/dist/common/screens/NoConsultationFoundScreen.js +4 -4
- package/dist/common/screens/NotValidActiveType.d.ts +2 -0
- package/dist/common/screens/NotValidActiveType.js +13 -0
- package/dist/common/screens/PreparingSummaryScreen.d.ts +1 -1
- package/dist/common/screens/PreparingSummaryScreen.js +5 -5
- package/dist/common/screens/RatingScreen.js +5 -5
- package/dist/common/screens/index.d.ts +1 -1
- package/dist/common/screens/index.js +1 -1
- package/dist/common/types/deliveryAddress.js +7 -7
- package/dist/common/types/theme.d.ts +1 -1
- package/dist/common/utils/valid-active-type.d.ts +2 -0
- package/dist/common/utils/valid-active-type.js +10 -0
- package/dist/form-prescriptions/api/models/prescription.d.ts +29 -0
- package/dist/form-prescriptions/api/models/prescription.js +2 -0
- package/dist/form-prescriptions/api/prescription.d.ts +2 -0
- package/dist/form-prescriptions/api/prescription.js +10 -0
- package/dist/form-prescriptions/components/FormPrescription.d.ts +8 -0
- package/dist/form-prescriptions/components/FormPrescription.js +70 -0
- package/dist/form-prescriptions/components/IndicationSurveyButton.d.ts +3 -0
- package/dist/form-prescriptions/components/IndicationSurveyButton.js +36 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireHeader.d.ts +2 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireHeader.js +64 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/OpenEnded.d.ts +2 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/OpenEnded.js +73 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/SingleChoice.d.ts +2 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/SingleChoice.js +72 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/index.d.ts +2 -0
- package/dist/form-prescriptions/components/Questionnaire/QuestionnaireQuestion/index.js +34 -0
- package/dist/form-prescriptions/contexts/IndicationSurveyContext.d.ts +19 -0
- package/dist/form-prescriptions/contexts/IndicationSurveyContext.js +55 -0
- package/dist/form-prescriptions/hooks/useIndicationSurvey.d.ts +11 -0
- package/dist/form-prescriptions/hooks/useIndicationSurvey.js +41 -0
- package/dist/form-prescriptions/hooks/useIndicationSurveyAnswers.d.ts +7 -0
- package/dist/form-prescriptions/hooks/useIndicationSurveyAnswers.js +41 -0
- package/dist/form-prescriptions/hooks/useScreens.d.ts +6 -0
- package/dist/form-prescriptions/hooks/useScreens.js +32 -0
- package/dist/form-prescriptions/icons/AlertIcon.d.ts +3 -0
- package/dist/form-prescriptions/icons/AlertIcon.js +53 -0
- package/dist/form-prescriptions/icons/FormPrescriptionIcon.d.ts +3 -0
- package/dist/form-prescriptions/icons/FormPrescriptionIcon.js +47 -0
- package/dist/form-prescriptions/icons/RxIcon.d.ts +3 -0
- package/dist/form-prescriptions/icons/RxIcon.js +47 -0
- package/dist/form-prescriptions/mocks/indication-survey.d.ts +20 -0
- package/dist/form-prescriptions/mocks/indication-survey.js +293 -0
- package/dist/form-prescriptions/screens/HomeScreen.d.ts +2 -0
- package/dist/form-prescriptions/screens/HomeScreen.js +64 -0
- package/dist/form-prescriptions/screens/QuestionnaireScreen.d.ts +2 -0
- package/dist/form-prescriptions/screens/QuestionnaireScreen.js +55 -0
- package/dist/form-prescriptions/types/indications.d.ts +25 -0
- package/dist/form-prescriptions/types/indications.js +8 -0
- package/dist/form-prescriptions/types/screens.d.ts +5 -0
- package/dist/form-prescriptions/types/screens.js +9 -0
- package/dist/index.d.ts +15 -12
- package/dist/index.js +28 -24
- package/dist/video-consultations/animations/CallingAnimation/index.js +4 -3
- package/dist/video-consultations/animations/CallingAnimation/xml.d.ts +2 -1
- package/dist/video-consultations/components/AgoraWrapper/components/BaseRenderUsers.js +10 -9
- package/dist/video-consultations/components/AgoraWrapper/components/BtnControls.js +15 -10
- package/dist/video-consultations/components/AgoraWrapper/components/ui/index.js +4 -4
- package/dist/video-consultations/components/AgoraWrapper/index.d.ts +1 -1
- package/dist/video-consultations/components/AgoraWrapper/index.js +3 -3
- package/dist/video-consultations/components/Modal/EndVideoCallModal.js +5 -4
- package/dist/video-consultations/components/VideoConsultation.d.ts +1 -1
- package/dist/video-consultations/components/VideoConsultation.js +18 -9
- package/dist/video-consultations/hooks/useInitRtcEngine.d.ts +1 -1
- package/dist/video-consultations/hooks/useInitRtcEngine.js +1 -1
- package/dist/video-consultations/icons/EndVideoCallIcon.js +2 -2
- package/dist/video-consultations/icons/HangUpIcon.d.ts +2 -1
- package/dist/video-consultations/icons/HangUpIcon.js +6 -5
- package/dist/video-consultations/icons/MicroOffIcon.d.ts +2 -5
- package/dist/video-consultations/icons/MicroOffIcon.js +4 -4
- package/dist/video-consultations/icons/MicroOnIcon.d.ts +2 -1
- package/dist/video-consultations/icons/MicroOnIcon.js +7 -6
- package/dist/video-consultations/icons/PersonIcon.js +2 -2
- package/dist/video-consultations/icons/SwitchCameraIcon.js +2 -2
- package/dist/{common → video-consultations}/icons/VideoConsultationIcon.js +1 -1
- package/dist/video-consultations/icons/VideoOffIcon.d.ts +2 -3
- package/dist/video-consultations/icons/VideoOffIcon.js +5 -5
- package/dist/video-consultations/icons/VideoOnIcon.d.ts +2 -1
- package/dist/video-consultations/icons/VideoOnIcon.js +6 -5
- package/dist/video-consultations/screens/DeliveryAddressScreen.js +24 -15
- package/dist/video-consultations/screens/EndingVideoScreen.d.ts +1 -1
- package/dist/video-consultations/screens/EndingVideoScreen.js +11 -6
- package/dist/video-consultations/screens/JoinVideoCallScreen.d.ts +1 -1
- package/dist/video-consultations/screens/JoinVideoCallScreen.js +21 -13
- package/dist/video-consultations/screens/ProcessingPrescriptionScreen.js +16 -10
- package/dist/video-consultations/screens/VideoCallScreen.js +16 -9
- package/package.json +4 -2
- package/dist/common/index.d.ts +0 -58
- package/dist/common/index.js +0 -116
- package/dist/video-consultations/index.d.ts +0 -10
- package/dist/video-consultations/index.js +0 -24
- /package/dist/{common → video-consultations}/icons/VideoConsultationIcon.d.ts +0 -0
|
@@ -37,16 +37,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.JoinVideoCallScreen = void 0;
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
40
|
+
var Button_1 = require("../../common/components/Button");
|
|
41
|
+
var Header_1 = require("../../common/components/Header");
|
|
42
|
+
var ScreenWrapper_1 = require("../../common/components/ScreenWrapper");
|
|
43
|
+
var Text_1 = require("../../common/components/Text");
|
|
43
44
|
var useCustomComponents_1 = require("../../common/hooks/useCustomComponents");
|
|
45
|
+
var useTheme_1 = require("../../common/hooks/useTheme");
|
|
46
|
+
var useTranslation_1 = require("../../common/hooks/useTranslation");
|
|
47
|
+
var CloseIcon_1 = require("../../common/icons/CloseIcon");
|
|
48
|
+
var professional_1 = require("../../common/utils/professional");
|
|
44
49
|
var CallingAnimation_1 = require("../animations/CallingAnimation");
|
|
50
|
+
var VideoConsultationIcon_1 = require("../icons/VideoConsultationIcon");
|
|
51
|
+
var react_1 = __importStar(require("react"));
|
|
52
|
+
var react_native_1 = require("react-native");
|
|
45
53
|
var VideoCallScreen_1 = __importDefault(require("./VideoCallScreen"));
|
|
46
54
|
var JoinVideoCallScreen = function (_a) {
|
|
47
55
|
var professional = _a.professional;
|
|
48
|
-
var t = (0,
|
|
49
|
-
var theme = (0,
|
|
56
|
+
var t = (0, useTranslation_1.useTranslation)().t;
|
|
57
|
+
var theme = (0, useTheme_1.useTheme)();
|
|
50
58
|
var styles = getStyles(theme);
|
|
51
59
|
var screens = (0, useCustomComponents_1.useCustomComponents)().screens;
|
|
52
60
|
var _b = (0, react_1.useState)(false), joined = _b[0], setJoined = _b[1];
|
|
@@ -56,19 +64,19 @@ var JoinVideoCallScreen = function (_a) {
|
|
|
56
64
|
};
|
|
57
65
|
if (joined)
|
|
58
66
|
return <VideoCallScreen_1.default />;
|
|
59
|
-
return (<
|
|
60
|
-
<
|
|
61
|
-
{t('video.calling.physician_female', { name: (0,
|
|
62
|
-
</
|
|
67
|
+
return (<ScreenWrapper_1.ScreenWrapper header={<Header_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<VideoConsultationIcon_1.VideoConsultationIcon />} rightIcon={<CloseIcon_1.CloseIcon />}/>} containerStyle={styles.container}>
|
|
68
|
+
<Text_1.Text variant="h2" center>
|
|
69
|
+
{t('video.calling.physician_female', { name: (0, professional_1.getProfessionalLabel)(professional) })}
|
|
70
|
+
</Text_1.Text>
|
|
63
71
|
|
|
64
72
|
<react_native_1.View style={styles.animationContainer}>{(customComponents === null || customComponents === void 0 ? void 0 : customComponents.CallingAnimation) || <CallingAnimation_1.CallingAnimation />}</react_native_1.View>
|
|
65
73
|
|
|
66
|
-
{(customComponents === null || customComponents === void 0 ? void 0 : customComponents.JoinCallButton) ? (<customComponents.JoinCallButton onPress={onJoinVideoCall}/>) : (<
|
|
74
|
+
{(customComponents === null || customComponents === void 0 ? void 0 : customComponents.JoinCallButton) ? (<customComponents.JoinCallButton onPress={onJoinVideoCall}/>) : (<Button_1.Button icon={<VideoConsultationIcon_1.VideoConsultationIcon />} onPress={onJoinVideoCall}>
|
|
67
75
|
{t('video.calling.button')}
|
|
68
|
-
</
|
|
76
|
+
</Button_1.Button>)}
|
|
69
77
|
|
|
70
|
-
<
|
|
71
|
-
</
|
|
78
|
+
<Text_1.Text center>{t('video.calling.not_refresh')}</Text_1.Text>
|
|
79
|
+
</ScreenWrapper_1.ScreenWrapper>);
|
|
72
80
|
};
|
|
73
81
|
exports.JoinVideoCallScreen = JoinVideoCallScreen;
|
|
74
82
|
var getStyles = function (_a) {
|
|
@@ -4,24 +4,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ProcessingPrescriptionScreen = void 0;
|
|
7
|
-
var
|
|
7
|
+
var LoadingCircleAnimation_1 = require("../../common/animations/LoadingCircleAnimation");
|
|
8
|
+
var Header_1 = require("../../common/components/Header");
|
|
9
|
+
var ScreenWrapper_1 = require("../../common/components/ScreenWrapper");
|
|
10
|
+
var Text_1 = require("../../common/components/Text");
|
|
11
|
+
var useCustomComponents_1 = require("../../common/hooks/useCustomComponents");
|
|
12
|
+
var useTheme_1 = require("../../common/hooks/useTheme");
|
|
13
|
+
var useTranslation_1 = require("../../common/hooks/useTranslation");
|
|
14
|
+
var VideoConsultationIcon_1 = require("../icons/VideoConsultationIcon");
|
|
8
15
|
var react_1 = __importDefault(require("react"));
|
|
9
16
|
var react_native_1 = require("react-native");
|
|
10
|
-
var useCustomComponents_1 = require("../../common/hooks/useCustomComponents");
|
|
11
17
|
var ProcessingPrescriptionScreen = function () {
|
|
12
|
-
var t = (0,
|
|
13
|
-
var theme = (0,
|
|
18
|
+
var t = (0, useTranslation_1.useTranslation)().t;
|
|
19
|
+
var theme = (0, useTheme_1.useTheme)();
|
|
14
20
|
var styles = getStyles(theme);
|
|
15
21
|
var ProcessingPrescriptionScreen = (0, useCustomComponents_1.useCustomComponents)().screens.ProcessingPrescriptionScreen;
|
|
16
|
-
return (<
|
|
17
|
-
<
|
|
22
|
+
return (<ScreenWrapper_1.ScreenWrapper header={<Header_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<VideoConsultationIcon_1.VideoConsultationIcon />}/>} containerStyle={styles.container}>
|
|
23
|
+
<Text_1.Text center variant="h1">
|
|
18
24
|
{t('delivery.address.processing')}
|
|
19
|
-
</
|
|
25
|
+
</Text_1.Text>
|
|
20
26
|
|
|
21
|
-
{(ProcessingPrescriptionScreen === null || ProcessingPrescriptionScreen === void 0 ? void 0 : ProcessingPrescriptionScreen.LoadingAnimation) || <
|
|
27
|
+
{(ProcessingPrescriptionScreen === null || ProcessingPrescriptionScreen === void 0 ? void 0 : ProcessingPrescriptionScreen.LoadingAnimation) || <LoadingCircleAnimation_1.LoadingCircleAnimation />}
|
|
22
28
|
|
|
23
|
-
<
|
|
24
|
-
</
|
|
29
|
+
<Text_1.Text center>{t('download.one_minute')}</Text_1.Text>
|
|
30
|
+
</ScreenWrapper_1.ScreenWrapper>);
|
|
25
31
|
};
|
|
26
32
|
exports.ProcessingPrescriptionScreen = ProcessingPrescriptionScreen;
|
|
27
33
|
var getStyles = function (_a) {
|
|
@@ -37,21 +37,28 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.VideoCallScreen = void 0;
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
40
|
+
var CancelConsultationButton_1 = require("../../common/components/CancelConsultationButton");
|
|
41
|
+
var Header_1 = require("../../common/components/Header");
|
|
42
|
+
var ScreenWrapper_1 = require("../../common/components/ScreenWrapper");
|
|
43
|
+
var Text_1 = require("../../common/components/Text");
|
|
44
|
+
var useConsultation_1 = require("../../common/hooks/useConsultation");
|
|
45
|
+
var useTheme_1 = require("../../common/hooks/useTheme");
|
|
46
|
+
var useTranslation_1 = require("../../common/hooks/useTranslation");
|
|
43
47
|
var video_1 = require("../api/video");
|
|
44
48
|
var AgoraWrapper_1 = __importDefault(require("../components/AgoraWrapper"));
|
|
49
|
+
var VideoConsultationIcon_1 = require("../icons/VideoConsultationIcon");
|
|
50
|
+
var react_1 = __importStar(require("react"));
|
|
51
|
+
var react_native_1 = require("react-native");
|
|
45
52
|
var EndingVideoScreen_1 = require("./EndingVideoScreen");
|
|
46
53
|
var VideoCallScreen = function () {
|
|
47
|
-
var t = (0,
|
|
48
|
-
var theme = (0,
|
|
54
|
+
var t = (0, useTranslation_1.useTranslation)().t;
|
|
55
|
+
var theme = (0, useTheme_1.useTheme)();
|
|
49
56
|
var styles = getStyles(theme);
|
|
50
|
-
var consultation = (0,
|
|
57
|
+
var consultation = (0, useConsultation_1.useConsultation)().consultation;
|
|
51
58
|
var videoCall = consultation.videoCall, professional = consultation.professional;
|
|
52
59
|
var _a = (0, react_1.useState)((videoCall === null || videoCall === void 0 ? void 0 : videoCall.patientHangout) || false), isHangOut = _a[0], setIsHangOut = _a[1];
|
|
53
60
|
if (!videoCall)
|
|
54
|
-
return <
|
|
61
|
+
return <Text_1.Text>Video call info not found</Text_1.Text>;
|
|
55
62
|
var uuid = videoCall.uuid, patientToken = videoCall.patientToken, appId = videoCall.appId, room = videoCall.room;
|
|
56
63
|
var endCall = function () {
|
|
57
64
|
setIsHangOut(true);
|
|
@@ -60,9 +67,9 @@ var VideoCallScreen = function () {
|
|
|
60
67
|
if (isHangOut) {
|
|
61
68
|
return <EndingVideoScreen_1.EndingVideoScreen professional={professional}/>;
|
|
62
69
|
}
|
|
63
|
-
return (<
|
|
70
|
+
return (<ScreenWrapper_1.ScreenWrapper header={<Header_1.Header title={t('general.consultation.videoConsultation.title')} leftIcon={<VideoConsultationIcon_1.VideoConsultationIcon />} rightIcon={<CancelConsultationButton_1.CancelConsultationButton />}/>} containerStyle={styles.container}>
|
|
64
71
|
<AgoraWrapper_1.default rtcProps={{ uid: uuid, token: patientToken, appId: appId, channel: room }} rtcCallbacks={{ endCall: endCall }}/>
|
|
65
|
-
</
|
|
72
|
+
</ScreenWrapper_1.ScreenWrapper>);
|
|
66
73
|
};
|
|
67
74
|
exports.VideoCallScreen = VideoCallScreen;
|
|
68
75
|
exports.default = exports.VideoCallScreen;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abihealth/goapp-react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"@sentry/react-native": "^6.7.0",
|
|
19
19
|
"axios": "^1.7.9",
|
|
20
20
|
"i18next": "^23.16.8",
|
|
21
|
+
"jwt-decode": "^4.0.0",
|
|
21
22
|
"phone": "^3.1.58",
|
|
22
23
|
"react-i18next": "^14.1.3",
|
|
23
24
|
"react-native-agora": "^4.4.0",
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
"start": "pnpm build:watch",
|
|
54
55
|
"start:ios": "pnpm start",
|
|
55
56
|
"type-check": "tsc --noEmit",
|
|
56
|
-
"lint": "eslint --fix"
|
|
57
|
+
"lint": "eslint --fix",
|
|
58
|
+
"update-phrase": "npx -y phrase-cli pull"
|
|
57
59
|
}
|
|
58
60
|
}
|
package/dist/common/index.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { useTranslation } from 'react-i18next';
|
|
2
|
-
import { Animation } from './animations/Animation';
|
|
3
|
-
import { FindingAnimation } from './animations/FindingAnimation';
|
|
4
|
-
import { HorizontalLoadingAnimation } from './animations/HorizontalLoadingAnimation';
|
|
5
|
-
import { LoadingCircleAnimation } from './animations/LoadingCircleAnimation';
|
|
6
|
-
import { LoadingDotsAnimation } from './animations/LoadingDotsAnimation';
|
|
7
|
-
import { authorization } from './api/auth';
|
|
8
|
-
import { BackgroundPattern } from './components/BackgroundPattern';
|
|
9
|
-
import { Button } from './components/Button';
|
|
10
|
-
import { CancelConsultationButton } from './components/CancelConsultationButton';
|
|
11
|
-
import { Card } from './components/Card';
|
|
12
|
-
import { Checkbox } from './components/Checkbox';
|
|
13
|
-
import { DateInput } from './components/DateInput';
|
|
14
|
-
import { DoctorProfileCard } from './components/DoctorProfileCard';
|
|
15
|
-
import { FadeIn } from './components/FadeIn';
|
|
16
|
-
import { FormWrapper } from './components/FormWrapper';
|
|
17
|
-
import { Header } from './components/Header';
|
|
18
|
-
import { Input } from './components/Input';
|
|
19
|
-
import { Modal } from './components/Modal';
|
|
20
|
-
import { AttachmentPreviewModal } from './components/Modal/AttachmentPreviewModal';
|
|
21
|
-
import { CancelModal } from './components/Modal/CancelModal';
|
|
22
|
-
import { CloseConsultationModal } from './components/Modal/CloseConsultationModal';
|
|
23
|
-
import { DoctorProfileModal } from './components/Modal/DoctorProfileModal';
|
|
24
|
-
import { TwoOptionsModal } from './components/Modal/TwoOptionsModal';
|
|
25
|
-
import { PhoneInput } from './components/PhoneInput';
|
|
26
|
-
import { Reminder } from './components/Reminder';
|
|
27
|
-
import { ScreenWrapper } from './components/ScreenWrapper';
|
|
28
|
-
import { Select } from './components/Select';
|
|
29
|
-
import { Slide } from './components/Slide';
|
|
30
|
-
import { Text } from './components/Text';
|
|
31
|
-
import { ConsultationProvider } from './contexts/ConsultationContext';
|
|
32
|
-
import { useConsultation } from './hooks/useConsultation';
|
|
33
|
-
import { useTheme } from './hooks/useTheme';
|
|
34
|
-
import { AbiLogoIcon } from './icons/AbiLogoIcon';
|
|
35
|
-
import { BackArrowIcon } from './icons/BackArrowIcon';
|
|
36
|
-
import { CloseIcon } from './icons/CloseIcon';
|
|
37
|
-
import { DoctorIcon } from './icons/DoctorIcon';
|
|
38
|
-
import { InfoIcon } from './icons/InfoIcon';
|
|
39
|
-
import { PlaneIcon } from './icons/PlaneIcon';
|
|
40
|
-
import { TextConsultationIcon } from './icons/TextConsultationIcon';
|
|
41
|
-
import { VideoConsultationIcon } from './icons/VideoConsultationIcon';
|
|
42
|
-
import { AnswerScreen } from './screens/AnswerScreen';
|
|
43
|
-
import { MatchingScreen } from './screens/MatchingScreen';
|
|
44
|
-
import { MatchScreen } from './screens/MatchScreen';
|
|
45
|
-
import { NoConsultationFoundScreen } from './screens/NoConsultationFoundScreen';
|
|
46
|
-
import { PreparingSummaryScreen } from './screens/PreparingSummaryScreen';
|
|
47
|
-
import { RatingScreen } from './screens/RatingScreen';
|
|
48
|
-
import { CASE_TYPE, Consultation, CONSULTATION_STATUS, Question } from './types/consultation';
|
|
49
|
-
import { HKDeliveryAddressSchema } from './types/deliveryAddress';
|
|
50
|
-
import { CONSULTATION_EVENT, EventCallback } from './types/events';
|
|
51
|
-
import { Prescription, PRESCRIPTION_STATUS } from './types/prescription';
|
|
52
|
-
import { License, Professional } from './types/professional';
|
|
53
|
-
import { Theme } from './types/theme';
|
|
54
|
-
import { isAndroid, isIOS } from './utils/platform';
|
|
55
|
-
import { getProfessionalLabel } from './utils/professional';
|
|
56
|
-
import { requiredCheckbox, requiredString, validPhone } from './utils/zod';
|
|
57
|
-
export { AbiLogoIcon, Animation, AnswerScreen, AttachmentPreviewModal, authorization, BackArrowIcon, BackgroundPattern, Button, CancelConsultationButton, CancelModal, Card, CASE_TYPE, Checkbox, CloseConsultationModal, CloseIcon, Consultation, CONSULTATION_EVENT, CONSULTATION_STATUS, // TODO check this after last refactor
|
|
58
|
-
ConsultationProvider, DateInput, DoctorIcon, DoctorProfileCard, DoctorProfileModal, EventCallback, FadeIn, FindingAnimation, FormWrapper, getProfessionalLabel, Header, HKDeliveryAddressSchema, HorizontalLoadingAnimation, InfoIcon, Input, isAndroid, isIOS, License, LoadingCircleAnimation, LoadingDotsAnimation, MatchingScreen, MatchScreen, Modal, NoConsultationFoundScreen, PhoneInput, PlaneIcon, PreparingSummaryScreen, Prescription, PRESCRIPTION_STATUS, Professional, Question, RatingScreen, Reminder, requiredCheckbox, requiredString, ScreenWrapper, Select, Slide, Text, TextConsultationIcon, Theme, TwoOptionsModal, useConsultation, useTheme, useTranslation, validPhone, VideoConsultationIcon };
|
package/dist/common/index.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Slide = exports.Select = exports.ScreenWrapper = exports.requiredString = exports.requiredCheckbox = exports.Reminder = exports.RatingScreen = exports.PRESCRIPTION_STATUS = exports.PreparingSummaryScreen = exports.PlaneIcon = exports.PhoneInput = exports.NoConsultationFoundScreen = exports.Modal = exports.MatchScreen = exports.MatchingScreen = exports.LoadingDotsAnimation = exports.LoadingCircleAnimation = exports.isIOS = exports.isAndroid = exports.Input = exports.InfoIcon = exports.HorizontalLoadingAnimation = exports.HKDeliveryAddressSchema = exports.Header = exports.getProfessionalLabel = exports.FormWrapper = exports.FindingAnimation = exports.FadeIn = exports.DoctorProfileModal = exports.DoctorProfileCard = exports.DoctorIcon = exports.DateInput = exports.ConsultationProvider = exports.CONSULTATION_STATUS = exports.CONSULTATION_EVENT = exports.CloseIcon = exports.CloseConsultationModal = exports.Checkbox = exports.CASE_TYPE = exports.Card = exports.CancelModal = exports.CancelConsultationButton = exports.Button = exports.BackgroundPattern = exports.BackArrowIcon = exports.authorization = exports.AttachmentPreviewModal = exports.AnswerScreen = exports.Animation = exports.AbiLogoIcon = void 0;
|
|
4
|
-
exports.VideoConsultationIcon = exports.validPhone = exports.useTranslation = exports.useTheme = exports.useConsultation = exports.TwoOptionsModal = exports.TextConsultationIcon = exports.Text = void 0;
|
|
5
|
-
var react_i18next_1 = require("react-i18next");
|
|
6
|
-
Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return react_i18next_1.useTranslation; } });
|
|
7
|
-
var Animation_1 = require("./animations/Animation");
|
|
8
|
-
Object.defineProperty(exports, "Animation", { enumerable: true, get: function () { return Animation_1.Animation; } });
|
|
9
|
-
var FindingAnimation_1 = require("./animations/FindingAnimation");
|
|
10
|
-
Object.defineProperty(exports, "FindingAnimation", { enumerable: true, get: function () { return FindingAnimation_1.FindingAnimation; } });
|
|
11
|
-
var HorizontalLoadingAnimation_1 = require("./animations/HorizontalLoadingAnimation");
|
|
12
|
-
Object.defineProperty(exports, "HorizontalLoadingAnimation", { enumerable: true, get: function () { return HorizontalLoadingAnimation_1.HorizontalLoadingAnimation; } });
|
|
13
|
-
var LoadingCircleAnimation_1 = require("./animations/LoadingCircleAnimation");
|
|
14
|
-
Object.defineProperty(exports, "LoadingCircleAnimation", { enumerable: true, get: function () { return LoadingCircleAnimation_1.LoadingCircleAnimation; } });
|
|
15
|
-
var LoadingDotsAnimation_1 = require("./animations/LoadingDotsAnimation");
|
|
16
|
-
Object.defineProperty(exports, "LoadingDotsAnimation", { enumerable: true, get: function () { return LoadingDotsAnimation_1.LoadingDotsAnimation; } });
|
|
17
|
-
var auth_1 = require("./api/auth");
|
|
18
|
-
Object.defineProperty(exports, "authorization", { enumerable: true, get: function () { return auth_1.authorization; } });
|
|
19
|
-
var BackgroundPattern_1 = require("./components/BackgroundPattern");
|
|
20
|
-
Object.defineProperty(exports, "BackgroundPattern", { enumerable: true, get: function () { return BackgroundPattern_1.BackgroundPattern; } });
|
|
21
|
-
var Button_1 = require("./components/Button");
|
|
22
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
23
|
-
var CancelConsultationButton_1 = require("./components/CancelConsultationButton");
|
|
24
|
-
Object.defineProperty(exports, "CancelConsultationButton", { enumerable: true, get: function () { return CancelConsultationButton_1.CancelConsultationButton; } });
|
|
25
|
-
var Card_1 = require("./components/Card");
|
|
26
|
-
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
|
|
27
|
-
var Checkbox_1 = require("./components/Checkbox");
|
|
28
|
-
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });
|
|
29
|
-
var DateInput_1 = require("./components/DateInput");
|
|
30
|
-
Object.defineProperty(exports, "DateInput", { enumerable: true, get: function () { return DateInput_1.DateInput; } });
|
|
31
|
-
var DoctorProfileCard_1 = require("./components/DoctorProfileCard");
|
|
32
|
-
Object.defineProperty(exports, "DoctorProfileCard", { enumerable: true, get: function () { return DoctorProfileCard_1.DoctorProfileCard; } });
|
|
33
|
-
var FadeIn_1 = require("./components/FadeIn");
|
|
34
|
-
Object.defineProperty(exports, "FadeIn", { enumerable: true, get: function () { return FadeIn_1.FadeIn; } });
|
|
35
|
-
var FormWrapper_1 = require("./components/FormWrapper");
|
|
36
|
-
Object.defineProperty(exports, "FormWrapper", { enumerable: true, get: function () { return FormWrapper_1.FormWrapper; } });
|
|
37
|
-
var Header_1 = require("./components/Header");
|
|
38
|
-
Object.defineProperty(exports, "Header", { enumerable: true, get: function () { return Header_1.Header; } });
|
|
39
|
-
var Input_1 = require("./components/Input");
|
|
40
|
-
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
|
|
41
|
-
var Modal_1 = require("./components/Modal");
|
|
42
|
-
Object.defineProperty(exports, "Modal", { enumerable: true, get: function () { return Modal_1.Modal; } });
|
|
43
|
-
var AttachmentPreviewModal_1 = require("./components/Modal/AttachmentPreviewModal");
|
|
44
|
-
Object.defineProperty(exports, "AttachmentPreviewModal", { enumerable: true, get: function () { return AttachmentPreviewModal_1.AttachmentPreviewModal; } });
|
|
45
|
-
var CancelModal_1 = require("./components/Modal/CancelModal");
|
|
46
|
-
Object.defineProperty(exports, "CancelModal", { enumerable: true, get: function () { return CancelModal_1.CancelModal; } });
|
|
47
|
-
var CloseConsultationModal_1 = require("./components/Modal/CloseConsultationModal");
|
|
48
|
-
Object.defineProperty(exports, "CloseConsultationModal", { enumerable: true, get: function () { return CloseConsultationModal_1.CloseConsultationModal; } });
|
|
49
|
-
var DoctorProfileModal_1 = require("./components/Modal/DoctorProfileModal");
|
|
50
|
-
Object.defineProperty(exports, "DoctorProfileModal", { enumerable: true, get: function () { return DoctorProfileModal_1.DoctorProfileModal; } });
|
|
51
|
-
var TwoOptionsModal_1 = require("./components/Modal/TwoOptionsModal");
|
|
52
|
-
Object.defineProperty(exports, "TwoOptionsModal", { enumerable: true, get: function () { return TwoOptionsModal_1.TwoOptionsModal; } });
|
|
53
|
-
var PhoneInput_1 = require("./components/PhoneInput");
|
|
54
|
-
Object.defineProperty(exports, "PhoneInput", { enumerable: true, get: function () { return PhoneInput_1.PhoneInput; } });
|
|
55
|
-
var Reminder_1 = require("./components/Reminder");
|
|
56
|
-
Object.defineProperty(exports, "Reminder", { enumerable: true, get: function () { return Reminder_1.Reminder; } });
|
|
57
|
-
var ScreenWrapper_1 = require("./components/ScreenWrapper");
|
|
58
|
-
Object.defineProperty(exports, "ScreenWrapper", { enumerable: true, get: function () { return ScreenWrapper_1.ScreenWrapper; } });
|
|
59
|
-
var Select_1 = require("./components/Select");
|
|
60
|
-
Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return Select_1.Select; } });
|
|
61
|
-
var Slide_1 = require("./components/Slide");
|
|
62
|
-
Object.defineProperty(exports, "Slide", { enumerable: true, get: function () { return Slide_1.Slide; } });
|
|
63
|
-
var Text_1 = require("./components/Text");
|
|
64
|
-
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return Text_1.Text; } });
|
|
65
|
-
var ConsultationContext_1 = require("./contexts/ConsultationContext");
|
|
66
|
-
Object.defineProperty(exports, "ConsultationProvider", { enumerable: true, get: function () { return ConsultationContext_1.ConsultationProvider; } });
|
|
67
|
-
var useConsultation_1 = require("./hooks/useConsultation");
|
|
68
|
-
Object.defineProperty(exports, "useConsultation", { enumerable: true, get: function () { return useConsultation_1.useConsultation; } });
|
|
69
|
-
var useTheme_1 = require("./hooks/useTheme");
|
|
70
|
-
Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return useTheme_1.useTheme; } });
|
|
71
|
-
var AbiLogoIcon_1 = require("./icons/AbiLogoIcon");
|
|
72
|
-
Object.defineProperty(exports, "AbiLogoIcon", { enumerable: true, get: function () { return AbiLogoIcon_1.AbiLogoIcon; } });
|
|
73
|
-
var BackArrowIcon_1 = require("./icons/BackArrowIcon");
|
|
74
|
-
Object.defineProperty(exports, "BackArrowIcon", { enumerable: true, get: function () { return BackArrowIcon_1.BackArrowIcon; } });
|
|
75
|
-
var CloseIcon_1 = require("./icons/CloseIcon");
|
|
76
|
-
Object.defineProperty(exports, "CloseIcon", { enumerable: true, get: function () { return CloseIcon_1.CloseIcon; } });
|
|
77
|
-
var DoctorIcon_1 = require("./icons/DoctorIcon");
|
|
78
|
-
Object.defineProperty(exports, "DoctorIcon", { enumerable: true, get: function () { return DoctorIcon_1.DoctorIcon; } });
|
|
79
|
-
var InfoIcon_1 = require("./icons/InfoIcon");
|
|
80
|
-
Object.defineProperty(exports, "InfoIcon", { enumerable: true, get: function () { return InfoIcon_1.InfoIcon; } });
|
|
81
|
-
var PlaneIcon_1 = require("./icons/PlaneIcon");
|
|
82
|
-
Object.defineProperty(exports, "PlaneIcon", { enumerable: true, get: function () { return PlaneIcon_1.PlaneIcon; } });
|
|
83
|
-
var TextConsultationIcon_1 = require("./icons/TextConsultationIcon");
|
|
84
|
-
Object.defineProperty(exports, "TextConsultationIcon", { enumerable: true, get: function () { return TextConsultationIcon_1.TextConsultationIcon; } });
|
|
85
|
-
var VideoConsultationIcon_1 = require("./icons/VideoConsultationIcon");
|
|
86
|
-
Object.defineProperty(exports, "VideoConsultationIcon", { enumerable: true, get: function () { return VideoConsultationIcon_1.VideoConsultationIcon; } });
|
|
87
|
-
var AnswerScreen_1 = require("./screens/AnswerScreen");
|
|
88
|
-
Object.defineProperty(exports, "AnswerScreen", { enumerable: true, get: function () { return AnswerScreen_1.AnswerScreen; } });
|
|
89
|
-
var MatchingScreen_1 = require("./screens/MatchingScreen");
|
|
90
|
-
Object.defineProperty(exports, "MatchingScreen", { enumerable: true, get: function () { return MatchingScreen_1.MatchingScreen; } });
|
|
91
|
-
var MatchScreen_1 = require("./screens/MatchScreen");
|
|
92
|
-
Object.defineProperty(exports, "MatchScreen", { enumerable: true, get: function () { return MatchScreen_1.MatchScreen; } });
|
|
93
|
-
var NoConsultationFoundScreen_1 = require("./screens/NoConsultationFoundScreen");
|
|
94
|
-
Object.defineProperty(exports, "NoConsultationFoundScreen", { enumerable: true, get: function () { return NoConsultationFoundScreen_1.NoConsultationFoundScreen; } });
|
|
95
|
-
var PreparingSummaryScreen_1 = require("./screens/PreparingSummaryScreen");
|
|
96
|
-
Object.defineProperty(exports, "PreparingSummaryScreen", { enumerable: true, get: function () { return PreparingSummaryScreen_1.PreparingSummaryScreen; } });
|
|
97
|
-
var RatingScreen_1 = require("./screens/RatingScreen");
|
|
98
|
-
Object.defineProperty(exports, "RatingScreen", { enumerable: true, get: function () { return RatingScreen_1.RatingScreen; } });
|
|
99
|
-
var consultation_1 = require("./types/consultation");
|
|
100
|
-
Object.defineProperty(exports, "CASE_TYPE", { enumerable: true, get: function () { return consultation_1.CASE_TYPE; } });
|
|
101
|
-
Object.defineProperty(exports, "CONSULTATION_STATUS", { enumerable: true, get: function () { return consultation_1.CONSULTATION_STATUS; } });
|
|
102
|
-
var deliveryAddress_1 = require("./types/deliveryAddress");
|
|
103
|
-
Object.defineProperty(exports, "HKDeliveryAddressSchema", { enumerable: true, get: function () { return deliveryAddress_1.HKDeliveryAddressSchema; } });
|
|
104
|
-
var events_1 = require("./types/events");
|
|
105
|
-
Object.defineProperty(exports, "CONSULTATION_EVENT", { enumerable: true, get: function () { return events_1.CONSULTATION_EVENT; } });
|
|
106
|
-
var prescription_1 = require("./types/prescription");
|
|
107
|
-
Object.defineProperty(exports, "PRESCRIPTION_STATUS", { enumerable: true, get: function () { return prescription_1.PRESCRIPTION_STATUS; } });
|
|
108
|
-
var platform_1 = require("./utils/platform");
|
|
109
|
-
Object.defineProperty(exports, "isAndroid", { enumerable: true, get: function () { return platform_1.isAndroid; } });
|
|
110
|
-
Object.defineProperty(exports, "isIOS", { enumerable: true, get: function () { return platform_1.isIOS; } });
|
|
111
|
-
var professional_1 = require("./utils/professional");
|
|
112
|
-
Object.defineProperty(exports, "getProfessionalLabel", { enumerable: true, get: function () { return professional_1.getProfessionalLabel; } });
|
|
113
|
-
var zod_1 = require("./utils/zod");
|
|
114
|
-
Object.defineProperty(exports, "requiredCheckbox", { enumerable: true, get: function () { return zod_1.requiredCheckbox; } });
|
|
115
|
-
Object.defineProperty(exports, "requiredString", { enumerable: true, get: function () { return zod_1.requiredString; } });
|
|
116
|
-
Object.defineProperty(exports, "validPhone", { enumerable: true, get: function () { return zod_1.validPhone; } });
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CallingAnimation } from './animations/CallingAnimation';
|
|
2
|
-
import AgoraWrapper from './components/AgoraWrapper';
|
|
3
|
-
import { EndVideoCallModal } from './components/Modal/EndVideoCallModal';
|
|
4
|
-
import { VideoConsultation } from './components/VideoConsultation';
|
|
5
|
-
import { DeliveryAddressScreen } from './screens/DeliveryAddressScreen';
|
|
6
|
-
import { EndingVideoScreen } from './screens/EndingVideoScreen';
|
|
7
|
-
import { JoinVideoCallScreen } from './screens/JoinVideoCallScreen';
|
|
8
|
-
import { ProcessingPrescriptionScreen } from './screens/ProcessingPrescriptionScreen';
|
|
9
|
-
import VideoCallScreen from './screens/VideoCallScreen';
|
|
10
|
-
export { AgoraWrapper, CallingAnimation, DeliveryAddressScreen, EndingVideoScreen, EndVideoCallModal, JoinVideoCallScreen, ProcessingPrescriptionScreen, VideoCallScreen, VideoConsultation };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.VideoConsultation = exports.VideoCallScreen = exports.ProcessingPrescriptionScreen = exports.JoinVideoCallScreen = exports.EndVideoCallModal = exports.EndingVideoScreen = exports.DeliveryAddressScreen = exports.CallingAnimation = exports.AgoraWrapper = void 0;
|
|
7
|
-
var CallingAnimation_1 = require("./animations/CallingAnimation");
|
|
8
|
-
Object.defineProperty(exports, "CallingAnimation", { enumerable: true, get: function () { return CallingAnimation_1.CallingAnimation; } });
|
|
9
|
-
var AgoraWrapper_1 = __importDefault(require("./components/AgoraWrapper"));
|
|
10
|
-
exports.AgoraWrapper = AgoraWrapper_1.default;
|
|
11
|
-
var EndVideoCallModal_1 = require("./components/Modal/EndVideoCallModal");
|
|
12
|
-
Object.defineProperty(exports, "EndVideoCallModal", { enumerable: true, get: function () { return EndVideoCallModal_1.EndVideoCallModal; } });
|
|
13
|
-
var VideoConsultation_1 = require("./components/VideoConsultation");
|
|
14
|
-
Object.defineProperty(exports, "VideoConsultation", { enumerable: true, get: function () { return VideoConsultation_1.VideoConsultation; } });
|
|
15
|
-
var DeliveryAddressScreen_1 = require("./screens/DeliveryAddressScreen");
|
|
16
|
-
Object.defineProperty(exports, "DeliveryAddressScreen", { enumerable: true, get: function () { return DeliveryAddressScreen_1.DeliveryAddressScreen; } });
|
|
17
|
-
var EndingVideoScreen_1 = require("./screens/EndingVideoScreen");
|
|
18
|
-
Object.defineProperty(exports, "EndingVideoScreen", { enumerable: true, get: function () { return EndingVideoScreen_1.EndingVideoScreen; } });
|
|
19
|
-
var JoinVideoCallScreen_1 = require("./screens/JoinVideoCallScreen");
|
|
20
|
-
Object.defineProperty(exports, "JoinVideoCallScreen", { enumerable: true, get: function () { return JoinVideoCallScreen_1.JoinVideoCallScreen; } });
|
|
21
|
-
var ProcessingPrescriptionScreen_1 = require("./screens/ProcessingPrescriptionScreen");
|
|
22
|
-
Object.defineProperty(exports, "ProcessingPrescriptionScreen", { enumerable: true, get: function () { return ProcessingPrescriptionScreen_1.ProcessingPrescriptionScreen; } });
|
|
23
|
-
var VideoCallScreen_1 = __importDefault(require("./screens/VideoCallScreen"));
|
|
24
|
-
exports.VideoCallScreen = VideoCallScreen_1.default;
|
|
File without changes
|