{"version":3,"sources":["constants/apiConfig.ts","middleware/axiosMiddleware.ts","services/login.service.ts","store/auth-context.tsx","components/clearWebStorage.ts","components/login/Login.tsx","services/signup.service.ts","services/app.service.ts","components/SignUp.tsx","components/ForgetPass.tsx","middleware/axiosForWordpress.ts","services/dashboard.service.ts","components/login/LoginBanner.tsx","components/login/Otp.tsx","components/login/PrivacyPolicy.tsx","components/login/TermAndCon.tsx","components/login/Register.tsx","components/login/OtpForLogin.tsx","components/Home.tsx","components/ErrorBoundary.tsx","components/ProtectedRoute.tsx","components/ContactUs.tsx","components/SideNav.tsx","services/notification.service.tsx","components/common/Notification.tsx","services/profile.service.tsx","components/common/UserMenu.tsx","components/dashboard/BrandsCard.tsx","services/patient.service.tsx","components/dashboard/ConsultedDoctorsCard.tsx","components/dashboard/DashboardBanner.tsx","components/dashboard/FindDoctorCard.tsx","components/dashboard/HealthToolsCard.tsx","components/dashboard/FeedbackCard.tsx","components/dashboard/ContactUsCard.tsx","components/dashboard/UpcomingAppointmentsCard.tsx","components/doctor/AskDoctor.tsx","components/dashboard/AskDoctorCard.tsx","components/dashboard/InsuranceCard.tsx","components/news&media/NewsAndMediaCard.tsx","components/dashboard/AppointmentCard.tsx","components/dashboard/LabReportCard.tsx","components/news&media/Media.tsx","components/dashboard/MyMedicationCard.tsx","services/UserService.tsx","components/common/Location.tsx","components/Dashboard.tsx","components/PersonalDetails.tsx","components/ChangePassword.tsx","components/Profile.tsx","services/familyMember.services.ts","components/FamilyMembersDetails.tsx","services/document.service.ts","components/UploadDocs.tsx","components/FamilyMembers.tsx","components/ManageFamily.tsx","services/findDoctor.services.ts","components/dashboard/ConditionsCard.tsx","components/doctor/DoctorProfile.tsx","components/doctor/FindDoctor.tsx","services/bookAppointment.service.tsx","services/teleconsult.service.ts","components/appointment/Appointment.tsx","components/health_tools/Bmi.tsx","components/health_tools/StrokeRisk.tsx","components/health_tools/HealthTool.tsx","components/international_patient/InternationalPatient.tsx","services/labReports.service.ts","components/labReports/LabReports.tsx","services/timeSlot.service.tsx","components/appointment/AppointmentBooked.tsx","components/appointment/BookAppointment.tsx","components/appointment/ReschedulAppt.tsx","components/doctor/SearchDocResult.tsx","services/feedback.service.ts","components/feedback/FeedbackSubmission.tsx","components/feedback/FeedbackQuestionnaire.tsx","components/feedback/ComplaintSubmission.tsx","components/feedback/SuggestionSubmission.tsx","components/feedback/Feedback.tsx","components/healthpackages/HealthPackages.tsx","components/healthpackages/BookHealthPackages.tsx","components/healthpackages/HealthPackageDetails.tsx","components/NeedHelp.tsx","components/appointment/BookApptFromPast.tsx","components/Insurance.tsx","components/news&media/News.tsx","components/news&media/AllMedia.tsx","components/news&media/AllNews.tsx","services/myMedication.services.ts","components/MyMedication/MyMedication.tsx","components/feedback/Complaints.tsx","components/UserDetails.tsx","components/ManageUser.tsx","components/notification/PublishNewBroadcast.tsx","components/notification/BroadcastHistory.tsx","components/notification/BroadcastNotification.tsx","components/teleconsultation/ComingSoon.tsx","components/AuthLayout.tsx","components/common/Loader.tsx","components/valetParking/ValetLogin.tsx","components/valetParking/ParkingDetails.tsx","components/valetParking/ValetDashboard.tsx","components/valetParking/ValetSideNav.tsx","components/valetParking/ValetLayout.tsx","App.tsx","reportWebVitals.ts","i18n.js","index.tsx"],"names":["baseUrl","process","API_ENDPOINTS","LOGIN","LOGOUT","CHECK_USER_EXIST","SEND_OTP","VERIFY_OTP","VERIFY_USER","CHANGE_PASS","GET_COUNTRY","SIGNUP","GET_GENDER","GET_DOCUMENT_TYPE","FORGOT_PASS_OTP","RESET_PASS","GET_WP_BASE","GET_REFRESH_TOKEN","GET_PROFILE","SAVE_PROFILE","SAVE_PROFILE_IMG","DELETE_PROFILE_IMG","GET_FAMILY_MEMBERS","SAVE_FAMILY_MEMBER","DELETE_FAMILY_MEMBER","GET_RELATION","SEND_OTP_TO_FAMILY_FOR_ADD","VERIFY_MOBILE_FOR_FAMILY","VERIFY_OTP_FOR_REGISTRATION","UPLOAD_DOCUMENT","GET_DOCUMENTS","REMOVE_DOCUMENT","GET_PATIENT_HIS_INFO","GET_PATIENT_SERACH","GET_TIMESLOT","BOOK_APPOINTMENT","DELETE_APPOINTMENT","UPDATE_APPOINTMENT","GET_PATIENT_REC","APPT_HISTORY","GET_CONSULTED_DOC","ASK_DOCTOR","FEEDBACK","CONTACT_US","OLD_REPORT","GET_PROFILE_DOCUMENT","BOOK_HEALTH_PACKAGE","SAVE_USER_DOB","GET_DEPARTMENT_CODES","GET_APP_CONFIGURARION","GET_PATIENT_ACTIVE_NOTI","MARK_NORIFICATION_READ","GET_ACTIVE_LABREPORTS","MARK_ALL_NOTIFICATION_READ","GET_NOTIFICATION_COUNT","GET_UAE_PASS_RESPONSE","REGISTER_UAEPASS_USER","COMPLETE_USER_PROFILE","GET_LAB_REPORTS","GET_LAB_REPORT_PDF","GET_SELECTED_PDF_REPORT","GET_MEDICATION_DETAILS","POST_COMPLAINTS_SUBMISSION","POST_SUGGESTION_SUBMISSION","GET_PARSE_MOBILE_NO","GET_USER_LIST","SET_NOTIFICATION_BY_GENDER","SET_NOTIFICATION_TYPE","SET_NOTIFICATION_BY_AGE","SET_NOTIFICATION_INAPPPATH","SAVE_PROFILEBROADCASTNOTIFICATION","SAVE_NOTIFICATION_IMG","GET_BROADCASTHISTORY","GET_ADMINLIST","UPLOAD_NOTIFY_USER_EXCEL","RESET_PASSWORD","GET_USER_ROLE","ADD_USER","ADD_ADMIN","SAVE_PREFERRED_FACILITY","DELETE_ACCOUNT","GET_PATIENT_DETAILS","wpAPI_ENDPOINTS","AlDhannahLocationDetails","axiosInstance","axios","create","interceptors","request","use","async","token","localStorage","getItem","config","headers","Authorization","error","Promise","reject","response","_error$response","originalRequest","status","_retry","newAccessToken","refreshToken","res","post","data","message","setItem","tokenExpiresAt","refreshExpiresAt","clearTokens","window","location","replace","origin","handlerefreshToken","err","removeItem","key","fetchData","url","options","contentType","_","get","includes","text","blob","Error","handleResponse","race","timeout","resolve","setTimeout","errorMessage","toString","statusText","errorResponse","makeRequest","cors_url","path","method","customHeaders","queryParams","bodyObj","formdata","_ref","apiHeaders","query","queryString","parseUrl","newQueryString","stringify","newURL","JSON","isEmpty","makeRequestForTele","_ref2","loginservice","verifyOTP","callingCode","mobile","otp","checkUser","loginMobile","isInvokedForLogin","dateOfBirth","documentTypeId","documentId","referenceId","checkUserForLogin","password","verifyUser","loginUser","referenceIdForLinking","forgotPassOtp","resetPass","newPassword","changePass","oldPass","oldPassword","getPatientHisInfo","identityNumber","mobileNo","identitydocTypeId","getPatientSerach","patientDetails","HIS","his","patientId","extensions","additionalProp1","additionalProp2","additionalProp3","getWpBaseUrl","brandName","getUAEPassResponse","accessCode","CompleteUserProfile","firstName","lastName","email","genderId","countryId","uuid","uaePassAccessToken","getParseMobileNumber","phoneNumber","getRefreshToken","refreshtoken","registerUaePassUser","verifyOTPFOrRegistration","AuthContext","React","createContext","isLoader","isLoggedIn","userMobile","apiToken","cCode","userInfo","docType","selectedLanguage","wpBaseUrl","isDobAvailable","consultedDoctorList","locationGlobalList","facilityIdGlobal","userProfileDetails","onLogout","onLogin","setMobile","removeUserMobile","setToken","removeApiToken","toggleLoader","flag","setUserInfo","removeUserInfo","setSelectedLanguage","language","setDocumetsDetails","setWpBaseUrl","setIsDobAvalable","isDobAvalilabe","setConsultedDoctorList","consultedDoctor","setLocationGlobalList","locationList","setFacilityIdGlobal","facilityId","setUserProfileDetails","userProfile","toTitleCase","str","AuthContextProvider","props","setIsLoggedIn","useState","setUserMobile","setCCode","setApiToken","setIsLoader","setDocType","setDocumentId","useEffect","_jsx","Provider","value","logoutHandler","loginHandler","removeApiTokenHandler","setUserMobileHandler","mobileNumber","removeUserMobileHandler","removeUserInfoHandler","handleDocumentDetails","isDOBAvailable","consultedDoctors","txt","charAt","toUpperCase","substring","toLowerCase","children","clearWebStorage","Login","authCtx","useContext","t","useTranslation","history","useHistory","setLoginMobile","useLocation","loginMobileError","setLoginMobileError","loginMobileErrorText","setLoginMobileErrorText","showModal","setShowModal","modalText","setModalText","modalType","setModalType","isRegisteredUser","setIsRegisteredUser","isRegisteredUserMessage","setIsRegisteredUserMessage","disableInput","setDisableInput","setCallingCode","handleRegisterClose","loginPass","setLoginPass","loginPassError","setLoginPassError","loginPassErrorText","setLoginPassErrorText","linkingPass","setLinkingPass","linkingPassError","setLinkingPassError","linkingPassErrorText","setLinkingPassErrorText","showPassword","setShowPassword","uaePassLogout","REACT_APP_UAEPASS_LOGIN","REACT_APP_UAEPASS_LOGOUT","removeUserDataFromStorage","uaeCode","href","indexOf","lastIndexOf","processUserInfo","handleClose","isValid","trim","validateLogin","isExistingUser","otpSent","otpValidity","push","pathname","state","accesscode","_jsxs","_Fragment","id","className","cList","Autocomplete","disableClearable","autoHighlight","size","disabled","defaultValue","find","x","phoneCode","onChange","event","filterOptions","createFilterOptions","option","name","getOptionLabel","PaperComponent","Paper","style","minWidth","renderOption","renderInput","params","TextField","variant","inputProps","autoComplete","label","maxLength","onKeyPress","test","preventDefault","e","handleInputChange","setterName","errorSetterName","target","length","helperText","type","handlePasswordChange","errorSetterText","InputProps","endAdornment","InputAdornment","position","IconButton","onClick","handleClickShowNewPassword","onMouseDown","handleMouseDownNewPassword","Visibility","VisibilityOff","Link","to","forgotPass","registerFirst","src","alt","Snackbar","open","autoHideDuration","onClose","Alert","severity","signupservice","signupUser","appservice","getLocation","getGender","getDocumentType","getRelation","SetNotificationByGender","getCountryList","SetNotificationType","SetNotificationByAge","getInAppPath","getAppCofigurations","deleteAccount","Signup","nationalityList","setNationality","genderList","setGenderList","docTypeList","setDocTypeList","fName","setfName","fNameError","setFnameError","lName","setlName","lNameError","setLnameError","gender","setGender","genderError","setGenderError","mobileError","mobileErrorText","selectedDOB","setSelectedDOB","selectedDOBError","setSelectedDOBError","selectedDOBErrorText","setSelectedDOBErrorText","setEmail","emailError","setEmailError","emailErrorText","setEmailErrorText","docId","setDocId","docIdError","setDocIdError","docIdErrorText","setDocIdErrorText","docTypeError","setDocTypeError","country","setCountry","countryError","setCountryError","pass","setPass","passError","setPassError","passErrorText","setPassErrorText","cPass","setCpass","cpassError","setCpassError","cPassErrorText","setCpassErrorText","showNewPassword","setShowNewPassword","showComparePassword","setShowComparePassword","referenaceId","referanceId","prospectUser","documentNumber","listFromApi","fetchGenderList","getGenderList","fetchCountryCode","getCountryCode","fetchDocTypeList","getDocumentTypeList","setMobileData","setDocumentDetails","handleSubmit","validateForm","emirateId","compereCodeWith","moment","format","slice","checkEmirateId","toISOString","temp","userId","profileImgUrl","profileImgFileName","roleId","roleName","handleDocIdChange","pattern","required","countryList","minLength","handleMobileChange","handleEmailChange","KeyboardDatePicker","autoOk","disableFuture","inputVariant","views","date","offset","getTimezoneOffset","Date","getTime","today","getDate","selectedDate","isAfter","KeyboardButtonProps","select","map","item","MenuItem","NumberFormat","customInput","confirmPass","handleConfirmPasswordChange","handleClickShowComparePassword","handleMouseDownComparePassword","ForgetPass","existingCallingCode","setExistingCallingCode","PassErrorText","isOtpVerified","setIsOtpVerified","setOtp","otpError","setOtpError","otpErrortext","setOtpErrorText","isOtpSent","setIsOtpSent","second","setSecond","minute","setMinute","isActive","setIsActive","counter","setCounter","resetPassOtpValidity","setResetPassOtpValidity","_localStorage$getItem","user","parse","undefined","intervalId","setInterval","secondCounter","minuteCounter","Math","floor","computedSecond","String","computedMinute","clearInterval","handleShow","handleOtp","validateOtp","validOtp","validatePass","validateForgotPass","goBack","makeRequestForWP","dashboardservice","logout","getProfile","saveProfile","saveProfileImg","removeProfileImg","getConditions","getBannerImg","category","getCounsltedDoc","familyMemberId","askDoctor","isEmailCommunication","isMobileCommunication","comment","feedback","inPatient","expierience","experience","contactUs","getInsurence","getAllNews","getSpecificNews","newsId","getAllMedia","getSpecificMedia","mediaId","getAllHealthPackages","getSpecificHealthPackage","packageName","bookHealthPackage","subPackageName","hospitalLocation","apptDate","getTermsAndCondition","getPrivacyPolicy","getRestrictedInsurance","getPatientDetails","institution","LoginBanner","bannerList","setBannerList","fetchBannerImges","getBanners","index","imagepath","Otp","userData","back","ccode","PrivacyPolicy","privacyPolicyDetails","setprivacyPolicyDetails","fetchPrivacyPolicy","Parser","page_text","TermAndCon","tncDetails","setTncDetails","fetchTermsAndCondition","Register","tnc","setTnc","userRegisterModel","setRegisterUserModal","userRegisterModelMessage","setRegisterUserMessage","tncModel","setTncModel","privacyModel","setPrivacyModel","confirmationModel","setConfirmationModel","setReferanceId","toggleTnC","handleTncClose","handlePrivacyClose","htmlFor","Dialog","fullWidth","maxWidth","dir","DialogTitle","CloseIcon","DialogContent","DialogContentText","DialogActions","handleComfirmationClose","validationForm","OtpForLogin","loginOtpValidity","setLoginOtpValidity","loginWithPassword","setLoginWithPassword","channel","setChannel","redirectUriValue","setRedirectUriValue","Boolean","Home","showLogo","setShowLogo","logo","Switch","Route","component","ErrorBoundary","Component","constructor","super","this","errorInfo","componentDidCatch","setState","render","whiteSpace","componentStack","ProtectedRoute","rest","Redirect","ContactUs","askText","setAskText","askTextError","setAskTextError","contactUsModal","setContactUsModal","validationModal","setValidationModal","validationText","setValidationText","handleContactUsClose","multiline","rows","SideNav","isAdmin","setAdmin","showMenu","setShowMenu","contactUsModel","setContactUsModel","brand","setBrand","setLogo","document","getElementById","title","listen","_document$getElementB","classList","add","closeMobileMenu","_document$getElementB2","body","remove","docSearch","notificationService","getPatientActiveNoti","getLabReports","markNotificationRead","markAllNotificationRead","BroadcastNotification","FacilityId","NotificationType","InURLPath","PhysicianNo","ImageUrl","ImageURL","NotificationText","NotificationTitle","FromDate","ToDate","brandname","BrandName","doctorname","DoctorName","Type","MobileList","Mobilelist","saveNotificationImg","getnotificationHistory","skip","take","filtertext","AdminFilterId","arguments","getAdminList","uploadUserExcelData","getActiveNotificationCount","Notification","notificationCount","setNotificationCount","notificationList","setNotificationList","notificationReload","setNotificationReload","anchorEl","setAnchorEl","ac","AbortController","fetchNotificationCount","getNotification","abort","fetchNotification","notificationId","currentTarget","Menu","MenuListProps","PaperProps","maxHeight","ITEM_HEIGHT","width","isRead","promotionType","console","log","link","isFamilyMember","from","handleNotification","notificationTitle","Typography","noWrap","messageTextAr","messageTextEn","createdOn","toLocaleString","hour","day","year","month","hadleMarkAllNotification","profileService","getProfileDocument","fileName","UserMenu","baseImage","setBase64Image","getImageBase64","getProfileImage","imageUrl","BrandsCard","patientService","getPatientRec","apptHistory","ConsultedDoctorsCard","isError","setIsError","setErrorMessage","docLoder","setDocLoder","insuranceErrorDialog","setInsuranceErrorDialog","reBookAppointment","getPatientRecord","patientRecord","doctorValue","locationId","his_name","familMembersId","patientIdData","insuranceName","planName","handleInsuranceValidation","restrictedInsuranceList","patientInsuranceName","patientInsurancePlanName","insurance_plan","topMargin","Fragment","image","scheduleType","specialty","appointment_message","department_code","facility_insurance_validation","specialty_insurance_validation","doctor_insurance_validation","checkInsuranceValidation","CircularProgress","color","handleInsuranceDialogClose","DashboardBanner","bannerImage","setBannerImage","getBannerImage","Carousel","controls","fade","interval","pause","slide","indicators","Item","FindDoctorCard","HealthToolsCard","FeedbackCard","ContactUsCard","UpcomingAppointmentsCard","upcomingAppt","setUpcomingAppts","slideIndex","setSlideIndex","slideTotalCount","setSlideTotalCount","upcomingAppointmentsArr","handleModelClose","currentHis","isPatientRecordCall","Object","keys","getApptHistory","idList","patientIdHISList","forEach","some","obj","item2","tempArr","concat","upcomingAppts","shift","filterdAppointment","filter","filterdConsultedDoc","handleTeleConsultation","currentDate","appointmentDate","apptTime","timeDiff","dt2","dt1","diff","abs","round","diff_minutes","baseUrlForTele","REACT_APP_TELECONSULT_BASEURL","loginURL","APPID","REACT_APP_TELECONSULT_APPID_BURJEEL","patientData","phone","emirates","success","authorization","access_token","user_id","PatientProfile","myGlobals","baseURL","patient_profile_id","accessToken","nextLabel","onSelect","handleSlideIndex","physicianName","toLocaleTimeString","timeZone","hour12","toDateString","anchorOrigin","vertical","horizontal","AskDoctor","modeOfCommunication","setmodeOfCommunication","modeOfCommError","setModeOfCommError","setIsEmailCommunication","setIsMobileCommunication","askDocModal","setAskDocModal","handleAskDoctorClose","modeOfCommuList","handleModeOfComm","AskDoctorCard","askDoctorModel","setAskDoctorModel","InsuranceCard","NewsAndMediaCard","newsList","setNewsList","customNewsList","setCustomNewsList","modelType","setModelType","showModel","setShowModel","modelText","setModelText","fetchAllNewsList","newslist","handleNewsChnage","publishDate","AppointmentCard","LabReportCard","Media","mediaList","setMediaList","customMediaList","setCustomMediaList","isOpenVideo","setIsOpenVideo","videoUrl","setVideoUrl","fetchAllMediaList","videolink","handleMediaOpen","Modal","handleMediaClose","styles","modal","height","padding","overflow","closeButton","background","center","ReactPlayer","MyMedicationCard","userService","getUserList","filterKey","addUser","resetPassword","getUserRoleList","saveUserDOB","saveUserFacilityId","Location","hospitalName","setHospitalName","chooseLocatinDialog","setChooseLocationDialog","setFacilityId","hospital","splitName","split","handleModalClose","FormControl","RadioGroup","FormControlLabel","control","Radio","filterValue","exsitingUserData","vblog","Dashboard","openMobileMenu","PersonalDetails","setcList","mobileCode","setMobileCode","patientDOB","setPatientDOB","initials","setInitials","uaeUserInfo","fetchUserProfile","getInitials","names","reloadPage","margin","ChangePassword","setOldPass","oldPassError","setOldPassError","oldPassErrorText","setOldPassErrorText","showOldPassword","setShowOldPassword","handleClickShowOldPassword","handleMouseDownOldPassword","Profile","refreshPage","setRefreshPage","familyMemberservice","getFamilyList","saveFamilyMember","FamilyMemberId","FirstName","LastName","Email","Mobile","CallingCode","DateOfBirth","GenderId","CountryId","DocumentTypeId","DocumentId","RelationId","relationId","deleteFamilyMember","sendOtpToFamily","sendotptoFamilyForAdd","refrenceId","verifyMobileForFamily","FamilyMembersDetails","relationList","setRelationList","showVerifyNumberModal","setVerifyNumberModal","fmId","setfmId","relation","setRelation","relationError","setRelationError","age","setAge","isDateChange","setIsDateChange","mId","mData","fetchRelationshipList","getRelationshipList","calculateAge","handleVerifyNumberModalClose","diff_ms","now","age_dt","getUTCFullYear","handlePopupClose","handleEditClose","handleConfirmationOpen","familyList","documentservice","uploadDocument","getDocuments","removeDocument","documentType","documentSide","DocumentType","DocumentSide","UploadDocs","emiratesIdFrontFileName","setEmiratesIdFrontFileName","emiratesIdFrontFileUrl","setEmiratesIdFrontFileUrl","emiratesIdBackFileName","setEmiratesIdBackFileName","emiratesIdBackFileUrl","setEmiratesIdBackFileUrl","passportFrontFileName","setPassportFrontFileName","passportFrontFileUrl","setPassportFrontFileUrl","passportBackFileName","setPassportBackFileName","passportBackFileUrl","setPassportBackFileUrl","insuranceFrontFileName","setInsuranceFrontFileName","insuranceFrontFileUrl","setInsuranceFrontFileUrl","insuranceBackFileName","setInsuranceBackFileName","insuranceBackFileUrl","setInsuranceBackFileUrl","drivingLicenseFrontFileName","setDrivingLicenseFrontFileName","drivingLicenseFrontFileUrl","setDrivingLicenseFrontFileUrl","drivingLicenseBackFileName","setDrivingLicenseBackFileName","drivingLicenseBackFileUrl","setDrivingLicenseBackFileUrl","labourCardFrontFileName","setLabourCardFrontFileName","labourCardFrontFileUrl","setLabourCardFrontFileUrl","labourCardBackFileName","setLabourCardBackFileName","labourCardBackFileUrl","setLabourCardBackFileUrl","fileErrorText","setFileErrorText","openDialog","setOpenDialog","selectedDocumentType","setSelectedDocumentType","selectedDocumentSide","setSelectedDocumentSide","getBase64File","fileUrl","downloadFile","base64","linkSource","ext","pop","downloadLink","createElement","file","download","click","docResult","drivingLicenceFrontFileName","drivingLicenceFrontFileUrl","drivingLicenceBackFileName","drivingLicenceBackFileUrl","handleFileChange","fileUrlSetter","fileNameSetter","files","FormData","append","result","confirmDelete","handleDialogClose","EmiratesID","Front","Back","Passport","Insurance","DrivingLicense","LabourCard","role","accept","TabPanel","other","hidden","FamilyMembers","tabValue","setTabValue","setFamilyMemberId","showDocTab","setShowDocTab","Tabs","handleTabChange","newValue","textColor","indicatorColor","Tab","showDoc","setShowAddModal","ManageFamily","showAddModal","showEditModal","setShowEditModal","familyData","setFamilyData","familyMemberName","setFamilyMemberName","setFamilyList","refreshData","fetchFamilyList","handleAddShow","finddoctorservice","searchDoctor","searchString","getLocations","getAllDoctors","cat_type","getDoctorByCondition","getDoctorByLocation","getallspecialties","getallspecialtiesByLocation","getDoctorProfile","ConditionsCard","conditionList","setConditionList","fetchConditions","setSpecialityList","search","DoctorProfile","doctorProfileData","setDoctorprofileData","fetcDoctorProfileDetails","doctorProfileDetails","specialization","nationality","know_langauges","biography_web","FindDoctor","doctorSearched","setDoctorSearched","doctorSearchString","setDoctorSearchString","doctorSearchList","setDoctorSearchList","doctorResultList","setDoctorResultList","docSearchError","setDocSerachError","docSerachMessage","setDocSearchErroeMessage","searchValue","setSearchValue","setLocationList","setLocation","speciality","setSpeciality","specialityList","doctorProfileDialog","setDoctorProfileDialog","doctorProfile","setDoctorProfile","deptList","setDeptList","setOpen","inputValue","setInputValue","enterKeyPressed","setEnterKeyPressed","loc","fetchDoctorData","fetchDoctorByCondition","fetchAllSpecialities","fetchDoctorByLocation","fetchAllLocations","address","insurance_validation","is_arabic","latitude","locationImg","longitude","map_link","websiteLink","handleDoctorSearch","sortDoctorsList","doctorslist","sort","a","b","doctorData","bookAppointment","doctorDetails","placeholder","docDet","handleEnterPressed","defaultChecked","handleSpecialityChange","selected","handleDoctorProfile","bookAppointmentService","appointmentdetails","apptStartTime","apptEndTime","callpoint","department","physicianNo","physicianLicense","patientdetails","identityDocExpiryDate","patientLang","occupation","bloodGroup","externalPatientId","city","region","streetNumber","postOfficeBox","kinFirstName","kinLastName","kinCountry","kinTelephone","kinRelationship","deleteAppointment","appointmentId","reason","changeReason","updateAppointment","duration","patientNo","getDepartmentCodesList","teleconsulationService","getTimeSlot","providerLicence","beginDate","endDate","bookAppointmentForTele","getTelecosnultationDoctor","deleteTeleAppointment","updateTeleAppointment","BookAppointment","cancelModel","setCancelModel","cancelAppointmentType","setCancelAppointmentType","cancelItem","setCancelItem","cancelShow","setCancelShow","cancelShowmessage","setCancelShowMessage","setPatientIdHISList","userName","setUserName","pastAppts","setpastAppts","familyMemberList","setFamilyMemberList","isLoadPastAppt","setIsLoadPastAppt","isLoadUpcomingAppt","setIsLoadUpcomingAppt","tabListValue","setTabListValue","isLoading","setIsLoading","hospitallocationList","setHospitalLocationList","showMoreBtnClick","setShowMoreBtnClick","pastAppointmentsArr","appConfiguration","getAllHospitalLocations","fetchFamilyMember","getpatient","all","upcommingAppt","prop","pastAppt","filterToBeApplied","filterdPastAppointment","handleRebookAndReschedule","getPatientId","familyMember","TabContext","Box","sx","handleTabListChange","scrollButtons","handleLocationChange","Number","handleFamilyChange","appointmentStatus","appointmentRefNo","updatedAppts","cancelAppt","Bmi","setseverity","ageError","setAgeError","setHeight","heightError","setHeightError","heightErrorText","setHeightErrorText","weight","setWeight","weightError","setWeightError","bmi","setBmi","bmiMsg","setMsg","calculateBMI","h","w","heightInMeter","r","toFixed","parseInt","StrokeRisk","setSeverity","dataList","setDataList","bloodPressure","setBloodPressure","bloodPressureError","setBloodPressureError","cholesterol","setCholesterol","cholesterolError","setCholesterolError","diabetic","setDiabetic","diabeticError","setDiabeticError","smoker","setSmoker","smokerError","setSmokerError","atrialFibrillation","setAtrialFibrillation","atrialFibrillationError","setAtrialFibrillationError","exercise","setExercise","exerciseError","setExerciseError","strokeHistory","setStrokeHistory","strokeHistoryError","setStrokeHistoryError","strokeMsg","setstrokeMsg","calculateStroke","red","yellow","val","values","a11yProps","HealthTool","InternationalPatient","setMobileError","selectedTravelDate","setSelectedTravelDate","selectedTravelDateError","setSelectedTravelDateError","selectedTravelDateErrorText","setSelectedTravelDateErrorText","doc","setDoc","docError","setDocError","docErrorText","setDocErrorText","setComment","commentError","setCommentError","isBefore","rowsMax","LabReportsServices","startDate","getSelectedPDFLabReport","requestOldReport","reportType","lastVisitDate","LastVisitDate","LabReports","labReportsCurrList","setLabReportsCurrList","labReportsPastList","setLabReportsPastList","labReportsCurrListBackup","setLabReportsCurrListBackup","labReportsPastListBackup","setLabReportsPastListBackup","labReportDialog","setLabReportDialog","showNoReportsModal","setShowNoReportsModal","familyMemberMobile","setFamilyMemberMobile","familyMemberCallingCode","setFamilyMemberCallingCode","isOtpSend","setIsOtpSend","pdfUrl","setPdfUrl","reportSearch","setReportSearch","buttonImageToggle","setButtonImageToggle","selectedPatient","setSelectedPatient","selectedOldReportPatient","setSelectedOldReportPatient","clickedLabReport","setClickedLabReport","pdfShow","setPdfShow","selectedLabReportVal","setSelectedLabReportVal","selectedclickedCard","setSelectedclickedCard","selectedPatientName","setSelectedPatientName","selectedPatientDOB","setSelectedPatientDOB","showPasswordMsg","setShowPasswordMsg","showPDFError","setShowPDFError","fetchPDFError","setFetchPDFError","isPastClicked","setIsPastClicked","skipPasswordProtection","setSkipPasswordProtection","labreportsType","setLabReportType","oldreportsType","setoldReportType","expand","setExpanded","labReportPDFDialog","setLabReportPDFDialog","openOldReportDialog","setOpenOldReportDialog","setSelectedDate","selectedDateError","setSelectedDateError","selectedDateErrorText","setSelectedDateErrorText","oldReportsModal","setOldReportsModal","oldReportBookedModal","setOldReportBookedModal","handleFamilyMemberNotification","splice","profileInfo","dob","formatedDob","getFullYear","getMonth","padStart","fetchLatestLabReports","memberList","fmemberId","memberInfo","member","handleLapReportClose","handleSubmitOldReport","patientIdHisList","current","labReportsListVar","date15daysago","setDate","date16daysago","date6monthsago","setMonth","patientLabOrderDetailsList","patientLabTestDetailsList","patientLabTestDetails","patientLabOrderDetails","order","testName","report","docNumber","defineProperty","sortedDescLabReportsListVar","objA","objB","orderDate","filterdReports","pdfAuthentication","clickedCard","showPdfReport","selectedLabReportValue","myHeaders","Headers","raw","reportDetails","documentPart","docPart","documentVersion","docVersion","patientName","fetch","redirect","then","URL","createObjectURL","iframe","querySelector","catch","setValue","handleLabReportSearch","labReportsListBackup","filteredItems","handleExpandChange","panle","isExpanded","stopPropagation","handlePDFOpen","labreportTypeList","oldreportTypeList","filteredItem","handleTypeChange","labReportSearch","Accordion","expanded","AccordionSummary","ExpandMoreIcon","KeyboardArrowRightIcon","AccordionDetails","testNames","TransitionProps","appear","enter","exit","square","defaultExpanded","handleOldReportFamilyChange","handleOldTypeChange","timeSlotService","AppointmentBooked","appointmentText","apptRefNumber","appointmentDoctor","book","timeSlot","setBeginDate","morningSlots","setMorningSlot","afternoonSlots","setAfternoonSlot","eveningSlots","setEveningSlot","futureDates","setFutureDates","setTime","setPatientName","timeItem","setTimeItem","appointmentBookedModal","setAppointBookedModal","isValidUser","setIsValidUser","bookingConfirmation","setBookingConfirmation","valetParkng","setValetParking","setAppointmentRefNo","fetchDepartmentCodes","fetchTimeSlot","timeData","physician_code","physician_number","hanldeTimeChange","confirmBooking","familMember","startTime","endTime","countryCode","detail","error_message","backgroundColor","newDate","pointerEvents","handleDateChange","min","weekday","checked","futureItem","ReschedulAppt","rescheduleShowModal","setrescheduleShowModal","fetchTime","SearchResults","doctorSearch","setDoctorSearch","handleClick","handleSearch","feedbackService","getFeedbackLocations","getFeedbackQuestionnaire","patientType","saveFeedbackAnswers","feedbackData","userEmail","FPlatform","UserResponse","makeRequestForWPPost","sendSuggestion","suggestionsData","suggestion","postComplaints","complaintsData","getFeedbackpatientType","FeedbackSubmission","facilityName","getBackFBHome","getBackToFBHome","FeedbackQuestionnaire","rawQuestionnaire","setRawQuestionnaire","answers","setAnswers","showNoQuestionnaire","setShowNoQuestionnaire","showApiErrorMsg","setShowApiErrorMsg","apiErrorText","setApiErrorText","getFacilityBasedQuestionnaire","feedbackPatientType","answersArr","facilityVblogValue","question","Questionid","questionID","Answer","is_mandatory","QuestionnaireList","questiontype","ans","handleRadioTwoOptions","quesNum","dummyArr","matchingQues","findIndex","opacity","zIndex","left","labelPlacement","m","noValidate","maxRows","handleTextboxChange","handleInputFieldChange","handleSelectionChange","feedbackPatientTypeList","noPatientTypesFound","isSubmitButtondisabled","questionsLength","ansObjet","ansItem","_ansObjet$Answer","feedbackResponseReq","fbSubmissionStatus","ComplaintSubmission","complaintNum","getBackFBHomeFromComplaints","getBackToFBHomeFromCompSub","SuggestionSubmission","getBackFBHomeFromSuggestions","getBackToFBHomeFromSuggSub","Feedback","complaint","setComplaint","setSuggestion","facility","setFacility","feedComp","setFeedComp","selectFeedbackComplaint","setSelectFeedbackComplaint","showGoButton","setShowGoButton","showSelcectionDropdown","setShowSelectionDropdown","renderFBScreen","setRenderFBScreen","setFBSubmissionStatus","feedbackLocations","setFeedbackLocations","facilitySelected","setFacilitySelected","setFacilityVblogValue","setFeedbackPatientTypeList","setFeedbackPatientType","setNoPatientTypesFound","complaintSubmissionStatus","setComplaintSubmissionStatus","suggestionSubmissionStatus","setSuggestionSubmissionStatus","complaintText","setComplaintText","suggestionText","setSuggestionText","selectedIncDate","setSelectedIncDate","selectedIncDateError","setSelectedIncDateError","selectedIncDateErrorText","setSelectedIncDateErrorText","complaintNameError","setComplaintNameError","complaintTextError","setComplaintTextError","suggestionTextError","setSuggestionTextError","complaintNumber","setComplaintNumber","getAllFeedbackLocations","getFeedbackPatientType","handleIncDateChange","getFeedbackSubmissionStatus","getBackToFeedbackScreen","isClick","renderFeedbackScreens","vblogValue","renderSubmissionScreen","FavoriteIcon","handlePatientTypeChange","slug","incDate","facilityCode","complainantName","incidentDate","source","handleSuggestionTextboxChange","handleSuggestionSubmit","getBackToFBHomeFromComplaints","getBackToFBHomeFromSuggestions","HealthPackages","healthPackageList","setHealthPackageList","healthPackagesError","setHealthPackageError","healthPackageErrorText","setHealthPackageErrorText","fetchPackgesList","fetchPackages","packagename","BookHealthPackages","setFname","setLname","setMobileErrorText","hospitalId","setHospitalId","hospitalList","setHospitalList","hospitalError","setHospitalError","packages","setPackage","packageError","setPackageError","subPackage","setSubPackage","subPackagesList","setSubPackagesList","subPackageError","setSubPackageError","selectedApptDate","setSelectedApptDate","selectedApptDateError","setSelectedApptDateError","selectedApptDateErrorText","setSelectedApptDateErrorText","showModalText","setShowModalText","showModalType","setShowModalType","healthPackagesList","fetchHospitalList","close","minDate","HealthPackageDetails","setHealthPackagesList","isErrorText","setPackageName","packageImage","setPackageImageName","setSubPackageName","bookHealthPackageModel","setHealthPackageModel","healthPackage","handleBookHealthPackageClose","fetchHealthPackagesDetails","getHealthPackages","backgroundImage","description","textAlign","price","NeedHelp","faqList","expandIcon","BookApptFromPast","slNo","insurenceList","setInsurenceList","fetchAllInsurence","insurenceData","News","setnewsList","newsIndex","setNewsIndex","newsData","setNewsData","setAllNewsData","scrollTop","scrollTo","top","behavior","list","previous","ind","next","AllMedia","AllNews","MyMedicationServices","getMyMedicationDetails","MyMedication","activeMedicationsList","setActiveMedicationsList","pastMedicationsList","setPastMedicationsList","activeAllMedicationsList","setActiveAllMedicationsList","pastAllMedicationsList","setPastAllMedicationsList","eachDocCardMedList","setEachDocCardMedList","distinctDocList","setDistinctDocList","myMedApiResult","setMyMedApiResult","doctorChange","setDoctorChange","activeDoctorsCard","setActiveDoctorsCard","pastDoctorsCard","setPastDoctorsCard","filteredActiveMedDetailsList","setFilteredActiveMedDetailsList","filteredPastMedDetailsList","setFilteredPastMedDetailsList","openmedicationDialog","setOpenMedicationDialog","differenceInDays","fetchMedicationDetails","activeMediAllHISList","pastMediAllHISList","resultArr","brandNameStr","patientIdHisElement","activeMedications","pastMedications","creationDate","getDoctorsListDropdown","getEachDoctorsDetails","BorderLinearProgress","styled","LinearProgress","theme","borderRadius","linearProgressClasses","colorPrimary","palette","grey","mode","bar","activeMedArr","doctorName","uniquedocsinActiveMed","Array","Set","getMedicineProgressValue","createdDate","compDate","completionDate","Difference_In_Days","medicationsSetArray","uniqueKeys","arr","doctorCardList","filteredArray","ele","medicineArr","docImage","doctorImage","docName","maxDuration","max","element","showMedicationDetails","medicinesList","handleOpenMedication","docNum","handleDoctorChange","genericName","frequency","flexGrow","Complaints","complaintDetails","setComplaintDetails","defaultFacility","handleFacilityChange","getBackToFBHomeFromComp","UserDetails","Password","setPassword","PasswordError","setPasswordError","setRole","setLoginEmail","validationError","setValidationError","reload","useStyles","makeStyles","switch","ManageUser","EditData","setEditData","UserList","setUserList","skip1","setSkip","take1","setTake","hasMore","setHasMore","searchTerm","setSearchTerm","resetPassAskModel","setResetPassAskModel","resetPassUserData","setResetPassUserData","changePasswordModal","setChnagePasswordModal","callFetchUserList","setCallFetchUserList","classes","isDefaultPassword","fetchUserList","callUserList","searchKey","handleAddClose","handleresetClose","handleChecked","handleSearchChange","InfiniteScroll","dataLength","nextUserList","loader","scope","resetUserPassword","hnadleChnagePassowrdClose","PublishNewBroadcast","notificationTypelist","setNotificationTypeList","textAreaCount","setTextAreaCount","NotificationTextMessage","setNotificationTextMessage","notificationTextError","setNotificationTextError","Title","setNotificationTitle","TitleError","setTitleError","TitleErrorText","setTitleErrorText","setInURLPath","InURLPathError","setInURLPathError","InURLPathErrorText","setInURLPathErrorText","notificationType","setNotificationType","userExcelData","setuserExcelData","excelError","setExcelError","excelFile","setExcelFile","excelValidated","setexcelValidated","sendTo","setSendTo","rePublishItem","callbackURL","fetchNotificationTypeList","getNotificationTypeList","match","btoa","Button","IsError","reader","FileReader","re","re1","re2","readAsBinaryString","onload","_e$target","workbook","xlsx","SheetName","SheetNames","sheet","Sheets","jsonData","sheet_to_json","mobileNumbers","fmobileNumbers","row","xlsxchangeHandler","downloadFormat","require","Workbook","addWorksheet","addRow","eachCell","cell","number","fill","fgColor","argb","bgColor","font","bold","writeBuffer","Blob","fs","handleTextAreaChange","BroadcastHistory","broadcastList","setbroadcastList","adminList","setAdminList","setfiltertext","callFetchList","setCallFetchList","SetAdminFilterId","selectedStartDate","setStartDate","selectedEndDate","setEndDate","resendItem","setResendItem","handleConfirmationClose","Id","getNotificationHistorylist","nextBroadcastList","scrollableTarget","pushSuccess","pushFail","createdBy","handleResend","isExcelUploadedNotification","handleRePublishNotification","colSpan","handleResendNotification","setRepublishItem","ComingSoon","gotoDashboard","AuthLayout","completeProfileDialog","setCompleteProfileDialog","fetchUserProfileDetails","fetchAppConfigurationValue","checkCompleteProfile","appConfigurartion","filterdValue","updateUserFacilityId","updateUserDateOfBirth","exact","Appointment","SearchDocResult","handleGlobalLocationChange","handleProfileSubmit","createStyles","backdrop","Loader","Backdrop","ValetLogin","ParkingDetails","ValetDashboard","ValetSideNav","ValetLayout","addValetCss","createTheme","direction","jss","plugins","jssPreset","rtl","App","setBrandText","brandNameForWPBaseUrl","setBrandNameForWpBaseUrl","alDhannahBrand","favicon","URLSearchParams","storedBrandName","getWordpressBaseUrl","StylesProvider","ThemeProvider","Router","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","i18n","Backend","initReactI18next","init","fallbackLng","debug","interpolation","escapeValue","react","useSuspense","ReactDOM","MuiPickersUtilsProvider","utils","DateFnsUtils"],"mappings":"qixBAQO,IAAIA,EAAUC,8DAQd,IAAIC,EAAgB,CACzBC,MAAOH,EAAU,cACjBI,OAAQJ,EAAU,eAClBK,iBAAkBL,EAAU,iBAC5BM,SAAUN,EAAU,gBACpBO,WAAYP,EAAU,kBACtBQ,YAAaR,EAAU,qBACvBS,YAAaT,EAAU,uBACvBU,YAAaV,EAAU,sBACvBW,OAAQX,EAAU,iBAClBY,WAAYZ,EAAU,qBACtBa,kBAAmBb,EAAU,2BAC7Bc,gBAAiBd,EAAU,2BAC3Be,WAAYf,EAAU,sBACtBgB,YAAahB,EAAU,0BACvBiB,kBAAmBjB,EAAU,qBAG7BkB,YAAalB,EAAU,gBACvBmB,aAAcnB,EAAU,oBACxBoB,iBAAkBpB,EAAU,2BAC5BqB,mBAAoBrB,EAAU,2BAE9BsB,mBAAoBtB,EAAU,sBAC9BuB,mBAAoBvB,EAAU,gCAC9BwB,qBAAsBxB,EAAU,2CAChCyB,aAAczB,EAAU,wBACxB0B,2BAA4B1B,EAAU,mCACtC2B,yBAA0B3B,EAAU,sCACpC4B,4BAA6B5B,EAAU,iCAGvC6B,gBAAiB7B,EAAU,uBAC3B8B,cAAe9B,EAAU,kBACzB+B,gBAAiB/B,EAAU,uBAC3BgC,qBAAsBhC,EAAU,0BAChCiC,mBAAoBjC,EAAU,yBAG9BkC,aAAclC,EAAU,yBAExBmC,iBAAkBnC,EAAU,wBAE5BoC,mBAAoBpC,EAAU,0BAE9BqC,mBAAoBrC,EAAU,0BAE9BsC,gBAAiBtC,EAAU,iCAE3B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CAACg/C,OAAK,EAAChiE,KAAK,SAAQgJ,SACxBlB,eAACic,IAAQ,CAACrT,GAAG,mBAEf5I,eAACkb,IAAK,CAAChjB,KAAK,eAAcgJ,SACxBlB,eAAC26D,GAAU,MAEb36D,eAACkb,IAAK,CAAChjB,KAAK,aAAYgJ,SACtBlB,eAAC+6D,GAAW,eAO1B,EC/ReoB,OAZUC,IACnBA,GAAeA,aAAuBC,UACxC,8BAAqBxmB,MAAKr9C,IAAkD,IAAjD,OAAE8jE,EAAM,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAASlkE,EACpE8jE,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EAAY,GAExB,E,iDCNFO,KAGGhoE,IAAIioE,MAEJjoE,IAAIkoE,MAGJC,KAAK,CACJC,YAAa,KACbC,OAAO,EAEPC,cAAe,CACbC,aAAa,GAEfC,MAAO,CACHC,aAAa,KAINT,GAAI,ECfnBU,IAASzhD,OACR5b,eAACX,GAAmB,CAAA6B,SACnBlB,eAACs9D,KAAuB,CAACC,MAAOC,KAAat8D,SAC7ClB,eAACu7D,GAAG,QAGJ79C,SAASC,eAAe,SAM1Bw+C,I","file":"static/js/main.8410185c.chunk.js","sourcesContent":["// let wpBaseUrl = \"https://vpswebdev.vpshealth.com/wp-json/mobileapi\";\n\nexport const FETCH_TIMEOUT =\n !process.env.NODE_ENV || process.env.NODE_ENV === \"development\"\n ? 300000\n : process.env.REACT_APP_FETCHTIMEOUT;\n\n/* Internet facing public URL DEV */\nexport let baseUrl = process.env.REACT_APP_BASEURL;\n\nif (!process.env.NODE_ENV || process.env.NODE_ENV === \"development\") {\n //baseUrl = \"https://localhost:44343/api\";\n //baseUrl = \"vpsportalnixdev-aldannahapi-test.azurewebsites.net/api\";\n baseUrl = \"https://aldhportalapipp.azurewebsites.net/api\";\n}\n\nexport var API_ENDPOINTS = {\n LOGIN: baseUrl + \"/auth/login\",\n LOGOUT: baseUrl + \"/auth/logout\",\n CHECK_USER_EXIST: baseUrl + \"/auth/identify\",\n SEND_OTP: baseUrl + \"/user/sendotp\",\n VERIFY_OTP: baseUrl + \"/user/verifyotp\",\n VERIFY_USER: baseUrl + \"/auth/verifymobile\",\n CHANGE_PASS: baseUrl + \"/auth/changepassword\",\n GET_COUNTRY: baseUrl + \"/masterdata/country\",\n SIGNUP: baseUrl + \"/user/register\",\n GET_GENDER: baseUrl + \"/masterdata/gender\",\n GET_DOCUMENT_TYPE: baseUrl + \"/masterdata/documenttype\",\n FORGOT_PASS_OTP: baseUrl + \"/user/sendotpforpassword\",\n RESET_PASS: baseUrl + \"/user/resetpassword\",\n GET_WP_BASE: baseUrl + \"/masterdata/fetchwpbase\",\n GET_REFRESH_TOKEN: baseUrl + \"/auth/refreshtoken\",\n\n //profile\n GET_PROFILE: baseUrl + \"/user/profile\",\n SAVE_PROFILE: baseUrl + \"/user/saveprofile\",\n SAVE_PROFILE_IMG: baseUrl + \"/user/uploadprofileimage\",\n DELETE_PROFILE_IMG: baseUrl + \"/user/removeprofileimage\",\n //family members\n GET_FAMILY_MEMBERS: baseUrl + \"/user/familymembers\",\n SAVE_FAMILY_MEMBER: baseUrl + \"/user/savefamilymemberdetails\",\n DELETE_FAMILY_MEMBER: baseUrl + \"/user/deletefamilymember?familyMemberId=\",\n GET_RELATION: baseUrl + \"/masterdata/relations\",\n SEND_OTP_TO_FAMILY_FOR_ADD: baseUrl + \"/user/sendotptofamilyforaddition\",\n VERIFY_MOBILE_FOR_FAMILY: baseUrl + \"/auth/verifymobileforfamilyaddition\",\n VERIFY_OTP_FOR_REGISTRATION: baseUrl + \"/auth/verifyotpforregistration\",\n\n //Doc upload\n UPLOAD_DOCUMENT: baseUrl + \"/user/uploaddocument\",\n GET_DOCUMENTS: baseUrl + \"/user/documents\",\n REMOVE_DOCUMENT: baseUrl + \"/user/removedocument\",\n GET_PATIENT_HIS_INFO: baseUrl + \"/user/getpatienthisinfo\",\n GET_PATIENT_SERACH: baseUrl + \"/user/getpatientsearch\",\n\n //book appointment\n GET_TIMESLOT: baseUrl + \"/appointment/timeslots\",\n\n BOOK_APPOINTMENT: baseUrl + \"/appointment/bookappt\",\n\n DELETE_APPOINTMENT: baseUrl + \"/appointment/cancelappt\",\n\n UPDATE_APPOINTMENT: baseUrl + \"/appointment/updateappt\",\n\n GET_PATIENT_REC: baseUrl + \"/user/getpatientrec?patientId=\",\n\n APPT_HISTORY: baseUrl + \"/appointment/appointments\",\n\n GET_CONSULTED_DOC: baseUrl + \"/user/recentconsultations?\",\n\n ASK_DOCTOR: baseUrl + \"/user/saveaskadoc\",\n\n FEEDBACK: baseUrl + \"/user/savefeedback\",\n\n CONTACT_US: baseUrl + \"/user/savecontactus\",\n\n OLD_REPORT: baseUrl + \"/user/sendoldreportrequest\",\n\n GET_PROFILE_DOCUMENT: baseUrl + \"/user/getdocument?url=\",\n\n BOOK_HEALTH_PACKAGE: baseUrl + \"/user/requesthealthpkg\",\n SAVE_USER_DOB: baseUrl + \"/user/savedob\",\n\n GET_DEPARTMENT_CODES: baseUrl + \"/masterdata/getdepartmentcodes\",\n GET_APP_CONFIGURARION: baseUrl + \"/masterdata/getappconfigurations\",\n\n //Notifucatios\n\n GET_PATIENT_ACTIVE_NOTI: baseUrl + \"/user/patientactivenotifications\",\n MARK_NORIFICATION_READ:\n baseUrl + \"/user/marknotificationread?patientNotificationId=\",\n GET_ACTIVE_LABREPORTS: baseUrl + \"/user/activelabreports\",\n MARK_ALL_NOTIFICATION_READ: baseUrl + \"/user/markallnotificationread\",\n GET_NOTIFICATION_COUNT:\n baseUrl + \"/notification/GetAllActiveNotificationsCount\",\n\n //UAEPASS Api\n GET_UAE_PASS_RESPONSE: baseUrl + \"/auth/authorizeuaepassuser\",\n REGISTER_UAEPASS_USER: baseUrl + \"/auth/registeruaepassuser\",\n\n //Complete User Profile If UAE pass User doesn't have profile in Burjeel\n COMPLETE_USER_PROFILE: baseUrl + \"/User/completeprofile\",\n\n //Lab reports Apis\n //fetching all the lab reports from past 6 months\n GET_LAB_REPORTS: baseUrl + \"/appointment/labreports\",\n GET_LAB_REPORT_PDF: baseUrl + \"/appointment/labreportspdf\",\n\n //fething PDF format of the selected lab report\n GET_SELECTED_PDF_REPORT: baseUrl + \"/appointment/labreportspdf\",\n\n //MyMedication Api\n GET_MEDICATION_DETAILS: baseUrl + \"/appointment/medications?brandName=\",\n\n //Feedback Complaints Submission Api\n POST_COMPLAINTS_SUBMISSION: baseUrl + \"/user/complaints\",\n POST_SUGGESTION_SUBMISSION: baseUrl + \"/user/sendsuggestion\",\n GET_PARSE_MOBILE_NO: baseUrl + \"/user/parsemobileno\",\n //newNotification Changes\n GET_USER_LIST: baseUrl + \"/user/getuserlist\",\n\n SET_NOTIFICATION_BY_GENDER: baseUrl + \"/notification/bygenderlist\",\n\n SET_NOTIFICATION_TYPE: baseUrl + \"/notification/notifytype\",\n SET_NOTIFICATION_BY_AGE: baseUrl + \"/notification/ByAgeList\",\n SET_NOTIFICATION_INAPPPATH: baseUrl + \"/notification/InAppPath\",\n\n SAVE_PROFILEBROADCASTNOTIFICATION: baseUrl + \"/notification/broadcast\",\n SAVE_NOTIFICATION_IMG: baseUrl + \"/notification/uploadnotifyimage\",\n GET_BROADCASTHISTORY: baseUrl + \"/notification/broadcasthistory\",\n GET_ADMINLIST: baseUrl + \"/user/getadminlist\",\n UPLOAD_NOTIFY_USER_EXCEL: baseUrl + \"/notification/uploadnotifyuser\",\n //User Role\n RESET_PASSWORD: baseUrl + \"/user/complaints\",\n GET_USER_ROLE: baseUrl + \"GET_USER_ROLE\",\n ADD_USER: baseUrl + \"ADD_USER\",\n ADD_ADMIN: baseUrl + \"/user/addadmin\",\n SAVE_PREFERRED_FACILITY: baseUrl + \"/user/savepreferredfacility\",\n DELETE_ACCOUNT: baseUrl + \"/auth/deleteaccount\",\n GET_PATIENT_DETAILS: baseUrl + \"/user/getpatientdetails\",\n};\n\nexport var wpAPI_ENDPOINTS = {\n //wordpress-api\n //Removed wpBaseUrl intentionally as the call should be made only once wpBaseUrl is set in local storage\n //GET_WEB_BANNER_IMG: \"/getwebbanner?banner_for=\",\n // GET_WEB_BANNER_IMG: wpBaseUrl + \"/getalltipsauth\",\n //FIND_DOC: \"/autocompletesearch?lang=eng&searchkey=\",\n //GET_ALL_DOCTOR: \"/getAllDocters?lang=eng&searchkey=&id=\",\n //GET_DOC_BY_CONDITION: \"/getAllDoctersByLocation?vblog=\",\n //GET_DOC_BY_LOCATION: \"/getAllDoctersByLocation?vblog=\",2\n //GET_ALL_SPECIALITIES: \"/getallspecialties\",\n //GET_ALL_INSURENCE: \"/getallinsurance\",\n //GET_ALL_NEWS: \"/getallmedianews?lang=eng\",\n //GET_SPECIFIC_NEWS: \"/getallmedianews?lang=eng&newsid=\",\n //GET_ALL_MEDIA: \"/getallmedia?lang=eng\",\n //GET_SPECIFIC_MEDIA: \"/getallmedia?lang=eng&mediaid=\",\n //GET_ALL_SPECIALITIES_BY_LOCATION: \"/getallspecialties?vblog=\",\n //GET_DOCTOR_PROFILE: \"/getdoctorprofile?lang=eng&vblog=\",\n\n //GET_TERMSNCONDITION: \"/gettermsconditions\",\n //GET_PRIVACYPOLICY: \"/getprivacypolicy\",\n\n //GET_FEEDBACK_QUESTIONNAIRE: \"/getallfeedback?vblog=\",\n //GET_FEEDBACK_PATIENT_TYPE: \"/getfeedbackpatienttype?vblog=\",\n //GET_ALL_RESTRICTED_INSURANCE: \"/getrestrictedinsurance\",\n //GET_TELECONSULT_DOCTOR: \"/getallteleconsultationdocters?vblog=2\",\n\n GET_WEB_BANNER_IMG: \"/v1/banners?type=\",\n FIND_DOC: \"/v1/search-doctor?query=\",\n GET_ALL_DOCTOR: \"/v1/doctors?id=\",\n GET_LOCATIONS: \"/getallhospitallocation?position=1\",\n GET_DOC_BY_CONDITION: \"/v1/doctors?department_code=\",\n GET_DOC_BY_LOCATION: \"/v1/doctors\",\n GET_ALL_SPECIALITIES: \"/v1/specialities\",\n GET_ALL_INSURENCE: \"/v1/insurance\",\n GET_ALL_NEWS: \"/v1/news\",\n GET_SPECIFIC_NEWS: \"/v1/news/\",\n GET_ALL_MEDIA: \"/v1/media-files\",\n GET_SPECIFIC_MEDIA: \"/v1/getallmedia?lang=eng&mediaid=\",\n GET_ALL_HEALTHPACKAGES: \"/getallpackages?packagename=\",\n GET_SPECIFIC_HEALTHPACKAGE: \"/getallpackages?packagename=\",\n GET_ALL_SPECIALITIES_BY_LOCATION: \"/v1/specialities\",\n GET_DOCTOR_PROFILE: \"/v1/doctors?id=\",\n GET_TERMSNCONDITION: \"/v1/get-page-info?slug=terms-and-conditions\",\n GET_PRIVACYPOLICY: \"/v1/get-page-info?slug=privacy-policy\",\n GET_FEEDBACK_LOCATIONS: \"/getallhospitallocation?position=\",\n GET_FEEDBACK_QUESTIONNAIRE: \"/v1/feedback-questionnaire\",\n POST_FEEDBACK_RESPONSE: \"/v1/save-feedback\",\n GET_FEEDBACK_PATIENT_TYPE: \"/v1/patient-types\",\n GET_TELECONSULT_DOCTOR: \"/getallteleconsultationdocters?vblog=2\",\n GET_ALL_RESTRICTED_INSURANCE: \"/getrestrictedinsurance\",\n\n};\n\nexport const aldhannahAndroidUrl =\n \"https://play.google.com/store/apps/details?id=com.aldhannahhospital\";\nexport const aldhannahIosUrl =\n \"https://apps.apple.com/us/app/burjeel-aldhannah/id6737333474\";\n\nexport const AlDhannahLocationDetails = {\n address: \"Al Ruways Industrial City - Abu Dhabi - United Arab Emirates\", \n brandname: \"aldhannah\",\n his_name:\"ALP\",\n id:534,\n insurance_validation:\"Yes\",\n is_arabic:true,\n latitude:\"24.085478\",\n locationId:\"AD10\",\n locationImg:\"\",\n longitude:\"52.665208\",\n map_link:\"https://www.google.com/maps?ll=24.085478,52.665208&z=14&t=m&hl=en&gl=AE&mapclient=embed&cid=11345976431251457773\",\n name:\"Al Dhannah Hospital\",\n vblog:\"\",\n websiteLink:\"\"\n};","import axios from \"axios\";\n\nimport queryString from \"query-string\";\nimport _, { forEach } from \"lodash\";\nimport { FETCH_TIMEOUT, baseUrl } from \"../constants/apiConfig\";\n\nimport moment from \"moment\";\n\nconst axiosInstance: any = axios.create();\nlet isRefreshTokenFetching: any = false;\nlet failedApis: any = [];\n\naxiosInstance.interceptors.request.use(\n async (config: any) => {\n const token = await localStorage.getItem(\"token\");\n if (token) {\n config.headers.Authorization = `Bearer ${token}`;\n }\n return config;\n },\n (error: any) => {\n return Promise.reject(error);\n }\n);\n\nconst responseIntercepter = axiosInstance.interceptors.response.use(\n (response: any) => {\n return response;\n },\n async (error: any) => {\n try {\n const originalRequest = error?.config;\n\n if (error.response?.status === 401 && !originalRequest?._retry) {\n originalRequest._retry = true;\n const newAccessToken = await handlerefreshToken();\n originalRequest.headers.Authorization = `Bearer ${newAccessToken}`;\n return axiosInstance(originalRequest);\n }\n } catch (err) {\n clearTokens();\n window.location.replace(window.location.origin + \"/home/login\");\n }\n\n return Promise.reject(error);\n }\n);\n\nconst clearTokens = async () => {\n const removeItem: any = [\n \"token\",\n \"refreshToken\",\n \"tokenExpiresAt\",\n \"refreshExpiresAt\",\n \"user\",\n \"userMobile\",\n \"getPatientRecord\",\n \"isPatientRecordCall\",\n \"uaeUser\",\n \"appConfiguration\",\n ];\n\n for (const key of removeItem) {\n localStorage.removeItem(key);\n }\n};\n\nconst timeoutPromise = (timeout: any) =>\n new Promise((resolve, reject) =>\n setTimeout(() => reject(new Error(\"Network timeout\")), timeout)\n );\n\nconst fetchData = async (url: string, options: any) => {\n try {\n const fetchResult = await Promise.race([\n axiosInstance.request(url, options),\n timeoutPromise(FETCH_TIMEOUT),\n ]);\n\n return handleResponse(fetchResult);\n } catch (error: any) {\n if (error && error.response && error.response.status === 401) {\n clearTokens();\n window.location.replace(window.location.origin + \"/home/login\");\n }\n\n let errorMessage =\n error && error.response && error.response.data\n ? error.response.data.error\n ? error.response.data.error.toString()\n : error.response.data.error\n ? error.response.data.error\n : \"\"\n : \"\";\n return {\n message: error.message,\n status:\n error && error.response && error.response.status\n ? error.response.status\n : error.response,\n statusText:\n error && error.response && error.response.statusText\n ? error.response.statusText\n : error.response,\n error: errorMessage,\n errorResponse: error.response,\n };\n }\n};\n\nfunction handleResponse(response: any) {\n const contentType = _.get(response, \"headers.content-type\", \"\");\n if (contentType && contentType.includes(\"application/json\")) {\n return response ? response.data : [];\n }\n if (\n (contentType && contentType.includes(\"text/plain\")) ||\n contentType.includes(\"text/html\")\n ) {\n return response ? response.text : \"\";\n }\n if (contentType && contentType.includes(\"application/pdf\")) {\n return response ? response.blob : \"\";\n }\n throw new Error(`Sorry, content-type ${contentType} not supported`);\n}\n\nasync function handlerefreshToken() {\n let token = localStorage.getItem(\"token\");\n let refreshToken = localStorage.getItem(\"refreshToken\");\n if (token && refreshToken) {\n try {\n const res = await axios.post(baseUrl + \"/auth/refreshtoken\", {\n token: token,\n refreshToken: refreshToken,\n });\n\n if (res && res.data.message.status === \"Success\") {\n localStorage.setItem(\"token\", res.data.data.token);\n localStorage.setItem(\"refreshToken\", res.data.data.refreshToken);\n localStorage.setItem(\"tokenExpiresAt\", res.data.data.tokenExpiresAt);\n localStorage.setItem(\n \"refreshExpiresAt\",\n res.data.data.refreshExpiresAt\n );\n return res.data.data.token;\n } else {\n clearTokens();\n window.location.replace(window.location.origin + \"/home/login\");\n }\n } catch (error: any) {\n clearTokens();\n window.location.replace(window.location.origin + \"/home/login\");\n }\n } else {\n clearTokens();\n window.location.replace(window.location.origin + \"/home/login\");\n }\n}\n\nexport const makeRequest = async ({\n cors_url,\n path,\n method,\n customHeaders,\n queryParams,\n bodyObj,\n formdata,\n}: any) => {\n const apiHeaders: any = customHeaders;\n apiHeaders[\"Invoking_Channel\"] = \"PATIENTPORTA\";\n const { url, query } = queryString.parseUrl(path);\n const newQueryString = queryString.stringify({ ...query, ...queryParams });\n let newURL = newQueryString ? `${url}?${newQueryString}` : url;\n const data = bodyObj ? JSON.stringify(bodyObj) : formdata ? formdata : null;\n if (!_.isEmpty(cors_url)) {\n newURL = cors_url + newURL;\n }\n return await fetchData(newURL, {\n method,\n headers: apiHeaders,\n data: data,\n });\n};\n\nexport const makeRequestForTele = async ({\n cors_url,\n path,\n method,\n customHeaders,\n queryParams,\n bodyObj,\n formdata,\n}: any) => {\n const apiHeaders: any = customHeaders;\n apiHeaders[\"Invoking_Channel\"] = \"TELECONSULT\";\n const { url, query } = queryString.parseUrl(path);\n const newQueryString = queryString.stringify({ ...query, ...queryParams });\n let newURL = newQueryString ? `${url}?${newQueryString}` : url;\n const data = bodyObj ? JSON.stringify(bodyObj) : formdata ? formdata : null;\n if (!_.isEmpty(cors_url)) {\n newURL = cors_url + newURL;\n }\n return await fetchData(newURL, {\n method,\n headers: apiHeaders,\n data: data,\n });\n};\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const loginservice = {\n verifyOTP,\n checkUser,\n checkUserForLogin,\n verifyUser,\n loginUser,\n forgotPassOtp,\n // forgotPassVerifyOtp,\n resetPass,\n changePass,\n getPatientHisInfo,\n getPatientSerach,\n getWpBaseUrl,\n getUAEPassResponse,\n CompleteUserProfile,\n getParseMobileNumber,\n getRefreshToken,\n registerUaePassUser,\n verifyOTPFOrRegistration,\n};\n\nasync function getUAEPassResponse(accessCode: string) {\n const apiPath = API_ENDPOINTS.GET_UAE_PASS_RESPONSE;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n accessCode: accessCode,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function CompleteUserProfile(data: any) {\n const apiPath = API_ENDPOINTS.COMPLETE_USER_PROFILE;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n firstName: data.firstName,\n lastName: data.lastName,\n email: data.email,\n mobile: data.mobile,\n callingCode: data.callingCode,\n dateOfBirth: data.dateOfBirth,\n genderId: data.genderId,\n countryId: data.countryId,\n documentTypeId: data.documentTypeId,\n documentId: data.documentId,\n uuid: data.uuid,\n uaePassAccessToken: data.uaePassAccessToken,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function checkUser(data: any) {\n const apiPath = API_ENDPOINTS.CHECK_USER_EXIST;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: data.callingCode,\n mobile: data.loginMobile,\n isInvokedForLogin: data.isInvokedForLogin,\n dateOfBirth: data.dateOfBirth,\n documentTypeId: data.documentTypeId,\n documentId: data.documentId,\n referenceId: data.referenceId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function checkUserForLogin(\n callingCode: string,\n mobile: string,\n isInvokedForLogin: boolean,\n password: string\n) {\n const apiPath = API_ENDPOINTS.CHECK_USER_EXIST;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n isInvokedForLogin: isInvokedForLogin,\n password: password,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function verifyUser(callingCode: string, mobile: string, otp: string) {\n const apiPath = API_ENDPOINTS.VERIFY_USER;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n otp: otp\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function verifyOTPFOrRegistration(referenceId: string, otp: string) {\n const apiPath = API_ENDPOINTS.VERIFY_OTP_FOR_REGISTRATION;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n referenceId: referenceId,\n otp: otp,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function loginUser(\n callingCode: string,\n mobile: string,\n password: string,\n otp: string,\n referenceIdForLinking: string\n) {\n const apiPath = API_ENDPOINTS.LOGIN;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n password: password,\n otp: otp,\n referenceIdForLinking: referenceIdForLinking,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function forgotPassOtp(\n callingCode: string,\n mobile: string,\n dateOfBirth: string\n) {\n const apiPath = API_ENDPOINTS.FORGOT_PASS_OTP;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n dateOfBirth: dateOfBirth,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function verifyOTP(\n callingCode: string,\n mobile: string,\n otp: string\n) {\n const apiPath = API_ENDPOINTS.VERIFY_OTP;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n otp: otp\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function resetPass(\n callingCode: string,\n mobile: string,\n otp: string,\n password: string\n) {\n const apiPath = API_ENDPOINTS.RESET_PASS;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile,\n otp: otp,\n newPassword: password,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function changePass(oldPass: string, newPassword: string) {\n const apiPath = API_ENDPOINTS.CHANGE_PASS;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n oldPassword: oldPass,\n newPassword: newPassword,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getPatientHisInfo(data: any) {\n const apiPath = API_ENDPOINTS.GET_PATIENT_HIS_INFO;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n identityNumber: data.identityNumber,\n mobileNo: data.mobileNo,\n identitydocTypeId: data.identitydocTypeId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getPatientSerach(data: any) {\n const apiPath = API_ENDPOINTS.GET_PATIENT_SERACH;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n patientDetails: {\n HIS: data.his,\n patientId: data.patientId,\n mobileNo: \"\",\n identitydocTypeId: data.identitydocTypeId,\n identityNumber: \"\",\n },\n extensions: {\n additionalProp1: \"\",\n additionalProp2: \"\",\n additionalProp3: \"\",\n },\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getWpBaseUrl(brandName: any) {\n const apiPath = API_ENDPOINTS.GET_WP_BASE + \"?brandName=\" + brandName;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getParseMobileNumber(phoneNumber: any) {\n const apiPath =\n API_ENDPOINTS.GET_PARSE_MOBILE_NO + \"?phoneNumber=\" + phoneNumber;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getRefreshToken(token: any, refreshtoken: any) {\n const apiPath = API_ENDPOINTS.GET_REFRESH_TOKEN;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n token: token,\n refreshToken: refreshtoken,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function registerUaePassUser(data: any) {\n const apiPath = API_ENDPOINTS.REGISTER_UAEPASS_USER;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n referenceId: data.referenceId,\n dateOfBirth: data.dateOfBirth,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import { debug } from \"console\";\nimport React, { useState, useEffect } from \"react\";\n\nconst AuthContext = React.createContext({\n isLoader: false,\n isLoggedIn: false,\n userMobile: \"\",\n apiToken: \"\",\n cCode: \"\",\n userInfo: \"\",\n docType: 0,\n documentId: \"\",\n selectedLanguage: \"\",\n wpBaseUrl: \"\",\n isDobAvailable: false,\n consultedDoctorList: [],\n locationGlobalList: [],\n facilityIdGlobal: \"\",\n userProfileDetails: {},\n onLogout: () => {},\n onLogin: (mobile: string) => {},\n setMobile: (cCode: string, mobile: string) => {},\n removeUserMobile: () => {},\n setToken: (token: string) => {},\n removeApiToken: () => {},\n toggleLoader: (flag: boolean) => {},\n setUserInfo: (userInfo: any) => {},\n removeUserInfo: () => {},\n setSelectedLanguage: (language: string) => {},\n setDocumetsDetails: (docType: any, documentId: any) => {},\n setWpBaseUrl: (wpBaseUrl: string) => {},\n setIsDobAvalable: (isDobAvalilabe: boolean) => {},\n setConsultedDoctorList: (consultedDoctor: any) => {},\n setLocationGlobalList: (locationList: any) => {},\n setFacilityIdGlobal: (facilityId: any) => {},\n setUserProfileDetails: (userProfile: any) => {},\n toTitleCase: (str: string) => {\"\"}\n});\n\nexport const AuthContextProvider = (props: any) => {\n const [isLoggedIn, setIsLoggedIn] = useState(false);\n const [userMobile, setUserMobile] = useState(\"\");\n const [cCode, setCCode] = useState(\"\");\n const [apiToken, setApiToken] = useState(\"\");\n const [isLoader, setIsLoader] = useState(false);\n const [userInfo, setUserInfo] = useState();\n const [selectedLanguage, setSelectedLanguage] = useState(\"\");\n const [docType, setDocType] = useState(0);\n const [documentId, setDocumentId] = useState(\"\");\n const [wpBaseUrl, setWpBaseUrl] = useState(\"\");\n const [isDobAvailable, setIsDobAvalable] = useState(false);\n const [consultedDoctorList, setConsultedDoctorList] = useState([]);\n const [locationGlobalList, setLocationGlobalList] = useState([]);\n const [facilityIdGlobal, setFacilityIdGlobal] = useState(\"\");\n const [userProfileDetails, setUserProfileDetails] = useState({});\n\n useEffect(() => {\n const storedUserLoggedInInformation = localStorage.getItem(\"isLoggedIn\");\n\n if (storedUserLoggedInInformation === \"1\") {\n setIsLoggedIn(true);\n }\n }, []);\n\n const toggleLoader = (flag: boolean) => {\n setIsLoader(flag);\n };\n\n const handleUserProfileDetails = (userProfile: any) => {\n setUserProfileDetails(userProfile);\n };\n\n const logoutHandler = () => {\n localStorage.removeItem(\"isLoggedIn\");\n setIsLoggedIn(false);\n };\n\n const loginHandler = () => {\n localStorage.setItem(\"isLoggedIn\", \"1\");\n setIsLoggedIn(true);\n };\n const removeApiTokenHandler = () => {\n setApiToken(\"\");\n localStorage.removeItem(\"token\");\n };\n\n const setApiTokenHandler = (token: string) => {\n setApiToken(token);\n localStorage.setItem(\"token\", token);\n };\n\n const removeUserMobileHandler = () => {\n setUserMobile(\"\");\n setCCode(\"\");\n };\n\n const setUserMobileHandler = (cCode: any, mobile: string) => {\n setUserMobile(mobile);\n setCCode(cCode);\n localStorage.setItem(\n \"userMobile\",\n JSON.stringify({ callingCode: cCode, mobileNumber: mobile })\n );\n };\n\n const handleDocumentDetails = (docType: any, documentId: any) => {\n setDocType(docType);\n setDocumentId(documentId);\n };\n\n const setUserInfoHandler = (userInfo: any) => {\n localStorage.setItem(\"user\", JSON.stringify(userInfo));\n setUserInfo(userInfo);\n };\n const removeUserInfoHandler = () => {\n localStorage.removeItem(\"user\");\n setUserInfo(\"\");\n };\n\n const languageHandler = (language: string) => {\n setSelectedLanguage(language);\n };\n\n const handleWpBaseUrl = (wpBaseUrl: string) => {\n setWpBaseUrl(wpBaseUrl);\n };\n\n const handleDobCheck = (isDOBAvailable: boolean) => {\n setIsDobAvalable(isDOBAvailable);\n };\n\n const handleConsultedDoctor = (consultedDoctors: any) => {\n setConsultedDoctorList(consultedDoctors);\n };\n\n const handleLocationList = (locationList: any) => {\n setLocationGlobalList(locationList);\n };\n\n const handleFacilityId = (facilityId: any) => {\n setFacilityIdGlobal(facilityId);\n };\n\n const toTitleCase = (str: string) => {\n return str.replace(\n /\\w\\S*/g,\n (txt) => {\n return txt.charAt(0).toUpperCase() + txt.substring(1).toLowerCase();\n }\n );\n }\n\n return (\n \n {props.children}\n \n );\n};\n\nexport default AuthContext;\n","const clearWebStorage = () => {\n const removeItem: any = [\n \"token\",\n \"refreshToken\",\n \"tokenExpiresAt\",\n \"refreshExpiresAt\",\n \"user\",\n \"userMobile\",\n \"getPatientRecord\",\n \"isPatientRecordCall\",\n \"uaeUser\",\n \"appConfiguration\",\n \"userMobile\",\n ];\n \n for (const key of removeItem) {\n localStorage.removeItem(key);\n }\n };\n \n export default clearWebStorage;","import { useState, useContext, useEffect } from \"react\";\nimport TextField from \"@material-ui/core/TextField\";\nimport { loginservice } from \"../../services/login.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport cList from \"../../constants/countryList.json\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport { Alert } from \"@material-ui/lab\";\nimport { aldhannahAndroidUrl, aldhannahIosUrl } from \"../../constants/apiConfig\";\nimport { IconButton, InputAdornment, Snackbar } from \"@material-ui/core\";\nimport { Visibility, VisibilityOff } from \"@material-ui/icons\";\nimport axios from \"axios\";\nimport clearWebStorage from \"../clearWebStorage\";\n\nfunction Login() {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"login\", \"uaePass\"]);\n const history = useHistory();\n const location = useLocation();\n\n const [loginMobile, setLoginMobile] = useState(\"\");\n const [loginMobileError, setLoginMobileError] = useState(false);\n const [loginMobileErrorText, setLoginMobileErrorText] = useState(\"\");\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n\n const [isRegisteredUser, setIsRegisteredUser] = useState(false);\n const [isRegisteredUserMessage, setIsRegisteredUserMessage] =\n useState(\"\");\n const [disableInput, setDisableInput] = useState(false);\n //const [userData, setuserData] = useState(false);\n\n const [callingCode, setCallingCode] = useState(\"\");\n\n const handleRegisterClose = () => setIsRegisteredUser(false);\n const brandName = localStorage.getItem(\"brandName\");\n\n // const [uaePassError, setUaePassError] = useState(\"\");\n // const [showUAEError, setShowUAEError] = useState(false);\n\n // const [usePassConfirmation, setUaePassConfirmation] =\n // useState(false);\n // const [linkUaePassAccount, setLinkUaePassAccount] = useState(false);\n\n const [loginPass, setLoginPass] = useState(\"\");\n const [loginPassError, setLoginPassError] = useState(false);\n const [loginPassErrorText, setLoginPassErrorText] = useState(\"\");\n\n const [linkingPass, setLinkingPass] = useState(\"\");\n const [linkingPassError, setLinkingPassError] = useState(false);\n const [linkingPassErrorText, setLinkingPassErrorText] = useState(\"\");\n\n const [showPassword, setShowPassword] = useState(false);\n const handleClickShowNewPassword = () => setShowPassword(!showPassword);\n const handleMouseDownNewPassword = () => setShowPassword(!showPassword);\n // const [uaePassUserInfo, setUaePassUserInfo] = useState(\"\");\n\n const uaePassLogin: any = process.env.REACT_APP_UAEPASS_LOGIN;\n const uaePassLogout: any = process.env.REACT_APP_UAEPASS_LOGOUT;\n\n //const uaePassLogout: any =\"https://stg-id.uaepass.ae/idshub/logout?redirect_uri=http://localhost:3000/home/login\";\n //const uaePassLogin: any = `https://stg-id.uaepass.ae/idshub/authorize?response_type=code&client_id=sandbox_stage&scope=urn:uae:digitalid:profile:general&state=HnlHOJTkTb66Y5H&redirect_uri=http://localhost:3000/home/login&acr_values=urn:safelayer:tws:policies:authentication:level:low`;\n\n useEffect(() => {\n // const queryString = window.location.search;\n // const urlParams = new URLSearchParams(queryString);\n // const myParam: any = urlParams.get(\"channel\");\n // const myParamUri: any = urlParams.get(\"redirect\");\n // const brand: any = urlParams.get(\"brandName\");\n // if (brand === \"colab\" && myParam && myParamUri) {\n // localStorage.setItem(\"channel\", myParam);\n // localStorage.setItem(\"colabRedirectUrl\", myParamUri);\n // }\n removeUserDataFromStorage();\n const uaeCode = window.location.href;\n if (uaeCode.includes(\"home/login?code=\")) {\n let accessCode = uaeCode.substring(\n uaeCode.indexOf(\"code=\") + 5,\n uaeCode.lastIndexOf(\"&\")\n );\n processUserInfo(accessCode);\n // } else if (\n // uaeCode.includes(\"error=access_denied\") ||\n // uaeCode.includes(\"error=invalid_request\") ||\n // uaeCode.includes(\"error=login_required\") ||\n // uaeCode.includes(\"error=cancelledOnApp\")\n // ) {\n // setUaePassError(\"User cancelled the login\");\n // setShowUAEError(true);\n // history.push(\"login\");\n // } else if (uaeCode.includes(\"isSOP1User=true\")) {\n // window.history.pushState(\"\", document.title, \"login\");\n // setUaePassError(\n // \"You are not eligible to access this service. Your account is either not upgraded or you have a visitor account. Please contact 'Burjeel Hospital LLC' to access the services.\"\n // );\n // setShowUAEError(true);\n }\n\n if (authCtx.cCode === \"\" && authCtx.userMobile === \"\") {\n setCallingCode(\"971\");\n } else {\n setCallingCode(authCtx.cCode);\n setLoginMobile(authCtx.userMobile);\n }\n // eslint-disable-next-line\n }, []);\n\n const removeUserDataFromStorage = () => {\n try {\n localStorage.removeItem(\"userData\");\n clearWebStorage();\n } catch (err) {}\n };\n\n const handleClose = () => setShowModal(false);\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n errorSetterName(false);\n setLoginMobileErrorText(\"\");\n // setShowUAEError(false);\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n if (e.target.name === \"loginMobile\") {\n // setLoginMobileErrorText(t(\"loginMobileError\"));\n }\n } else {\n const re = /^[0-9\\b]+$/;\n if (!re.test(e.target.value)) {\n errorSetterName(true);\n if (e.target.name === \"loginMobile\") {\n setLoginMobileErrorText(t(\"numberError\"));\n } else {\n errorSetterName(false);\n setLoginMobileErrorText(\"\");\n }\n } else if (e.target.value.length < 8) {\n errorSetterName(true);\n setLoginMobileErrorText(t(\"loginInvalidMobileError\"));\n }\n }\n }\n };\n\nlet checkUserForLogin = async () => {\n setDisableInput(true);\n\n authCtx.toggleLoader(true);\n // if (callingCode !== \"971\") {\n // setIsRegisteredUser(true);\n // setIsRegisteredUserMessage(t(\"wrongCallingCode\"));\n // } \n if (validateLogin()) {\n let res = await loginservice.checkUserForLogin(\n callingCode,\n loginMobile,\n true,\n loginPass\n );\n authCtx.setMobile(callingCode, loginMobile);\n if (res && res.isExistingUser && res.otpSent) {\n setIsRegisteredUser(false);\n if(res.otpValidity!=null && res.otpValidity!=0){\n history.push({\n pathname: \"/home/otpforlogin\",\n state: {\n callingCode: callingCode,\n loginMobile: loginMobile,\n password: loginPass,\n otpValidity: res.otpValidity\n },\n });\n }\n else {\n history.push({\n pathname: \"/home/otpforlogin\",\n state: {\n callingCode: callingCode,\n loginMobile: loginMobile,\n password: loginPass,\n otpValidity: 0\n },\n });\n }\n } else if (res && res.isExistingUser === false) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(\n t(\"userNotRegister\")\n );\n } else if (res && res.message && res.message === \"Network Error\") {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(\n t(\"toManyAttempt\")\n );\n } else if (res && res.status === 429) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(\n \"You have exceeded the login limit for a day.\"\n );\n } else if (res && res.status === 400) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(res.errorResponse.data);\n } else if (res && res.status === 403) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(\n \"User account locked due to multiple incorrect attempts. Please try again later.\"\n );\n }\n }\n authCtx.toggleLoader(false);\n };\n\n let registerFirst = async (e: any) => {\n e.preventDefault();\n history.push(\"/home/register\");\n };\n\n // let uaePassregisterFirst = async (e: any) => {\n // e.preventDefault();\n // if (uaePassUserInfo.isExistingMobile) {\n // setIsRegisteredUser(true);\n // setIsRegisteredUserMessage(\n // \"Your mobile number already registered. Please link with your account.\"\n // );\n // } else {\n // history.push({ pathname: \"/home/UAEregister\", state: uaePassUserInfo });\n // }\n // };\n\n // const navigateToUAEPass = (e: any) => {\n // // localStorage.setItem(\"uaeUser\", \"1\");\n // e.preventDefault();\n // window.location.replace(uaePassLogin);\n // };\n\n let processUserInfo = async (accesscode: string) => {\n let userInfo = await loginservice.getUAEPassResponse(accesscode);\n if (userInfo && userInfo.message.status) {\n if (\n userInfo.data === null &&\n userInfo.message.status === \"Invalid\" &&\n userInfo.message.message === \"SOP1 user\"\n ) {\n // setUaePassError(t(\"sop1UserLoginError\"));\n // setShowUAEError(true);\n // // setTimeout(() => {\n // // window.location.replace(uaePassLogout);\n // // }, 2000);\n window.location.replace(uaePassLogout + \"?isSOP1User=true\");\n // } else if (\n // userInfo.data === null &&\n // userInfo.message.status === \"Error\" &&\n // userInfo.message.message ===\n // \"Unable to find the user information from UAE Pass, please try again.\"\n // ) {\n // setUaePassError(userInfo.message.message);\n // setShowUAEError(true);\n // } else if (\n // userInfo.data === null &&\n // userInfo.message.status === \"Invalid\" &&\n // userInfo.message.message ===\n // \"You are not eligible to access this service. Your account is either not upgraded or you have a visitor account. Please contact Burjeel Holdings to access the services.\"\n // ) {\n // setUaePassError(userInfo.message.message);\n // setShowUAEError(true);\n // setTimeout(() => {\n // history.push(\"/home/register\");\n // }, 3000);\n // } else if (userInfo.data && userInfo.message.status === \"Success\") {\n // //Navigate to dashboard\n // // setUaePassUserInfo(userInfo.data);\n // // if (userInfo.data.token) {\n // // localStorage.setItem(\"uaeUser\", \"1\");\n // // handleUAEValidUser(userInfo);\n // // } else {\n // // setUaePassConfirmation(true);\n // // }\n } else if (\n userInfo.message.status &&\n userInfo.message.status === \"BadRequest\"\n ) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(\n \"Inactive authorization code received from token request\"\n );\n }\n } else if (\n userInfo &&\n userInfo.message &&\n userInfo.message === \"Network Error\"\n ) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(userInfo.errorResponse.data);\n } else if (userInfo && userInfo.status === 429) {\n setIsRegisteredUser(true);\n setIsRegisteredUserMessage(userInfo.errorResponse.data);\n }\n };\n\nfunction validateLinkingLogin() {\n let isValid: boolean = true;\n\n if (linkingPass.trim() === \"\" || linkingPassError) {\n setLinkingPassError(true);\n isValid = false;\n }\n\n return isValid;\n }\n\n function validateLogin() {\n let isValid: boolean = true;\n\n if (loginPass.trim() === \"\" || loginPassError) {\n setLoginPassError(true);\n isValid = false;\n }\n\n return isValid;\n }\n\n // const linkAccountWithUaePAss = async () => {\n // authCtx.toggleLoader(true);\n // const otp = \"\";\n // const referenceIdForLinking = uaePassUserInfo.referenceId;\n // if (validateLogin()) {\n // let res = await loginservice.loginUser(\n // callingCode,\n // loginMobile,\n // loginPass,\n // otp,\n // referenceIdForLinking\n // );\n // authCtx.toggleLoader(false);\n // if (\n // res &&\n // res.data &&\n // res.message.status &&\n // res.message.status === \"Success\"\n // ) {\n // if (brandName === \"colab\") {\n // const redirectColabUrl = process.env.REACT_APP_COLAB_REDIRECT_URL;\n // if (redirectColabUrl) {\n // authCtx.toggleLoader(true);\n // localStorage.setItem(\"channel\", \"\");\n // localStorage.setItem(\"colabRedirectUrl\", \"\");\n // window.location.href = `${redirectColabUrl}?token=${res.data.token}&refreshToken=${res.data.refreshToken}`;\n // authCtx.toggleLoader(false);\n // } else {\n // setIsRegisteredUserMessage(\n // \"Something went wrong, please try again!\"\n // );\n // setIsRegisteredUser(true);\n // }\n // } else {\n // authCtx.setToken(res.data.token);\n // let temp = {\n // userId: res.data.userId,\n // firstName: res.data.firstName,\n // lastName: res.data.lastName,\n // gender: res.data.gender,\n // email: res.data.email,\n // mobile: loginMobile,\n // callingCode: callingCode,\n // profileImgUrl: res.data.profileImgUrl,\n // profileImgFileName: res.data.profileImgFileName,\n // refreshToken: res.data.refreshToken,\n // roleId: res.data.roleId,\n // roleName: res.data.roleName,\n // refreshExpiresAt: res.data.refreshExpiresAt,\n // tokenExpiresAt: res.data.tokenExpiresAt,\n // isDOBAvailable: res.data.isDOBAvailable,\n // facilityId: res.data.facilityId,\n // };\n // localStorage.setItem(\"refreshToken\", res.data.refreshToken);\n // localStorage.setItem(\"tokenExpiresAt\", res.data.tokenExpiresAt);\n // localStorage.setItem(\"refreshExpiresAt\", res.data.refreshExpiresAt);\n // authCtx.setUserInfo(temp);\n // history.push(\"/auth/dashboard\");\n // }\n // }\n // if (res.message.status === \"Invalid\") {\n // setIsRegisteredUserMessage(res.message.message);\n // setIsRegisteredUser(true);\n // }\n // }\n // authCtx.toggleLoader(false);\n // };\n\n const handlePasswordChange = (\n e: any,\n setterName: any,\n errorSetterName?: any,\n errorSetterText?: any\n ) => {\n setterName(e.target.value);\n errorSetterName(false);\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n errorSetterText(t(\"\"));\n } else {\n if (e.target.value.length > 50 || e.target.value.length < 8) {\n errorSetterName(true);\n errorSetterText(t(\"invalidPassword\"));\n } else {\n errorSetterName(false);\n errorSetterText(t(\"\"));\n }\n }\n }\n };\n\n const forgotPass = async (e: any) => {\n e.preventDefault();\n history.push(\"/home/forgotpassword\");\n };\n\n // const handleUaePassYes = () => {\n // setUaePassConfirmation(false);\n // setLinkUaePassAccount(true);\n // };\n\n // const handleUaePassNo = () => {\n // if (uaePassUserInfo.isExistingMobile) {\n // setIsRegisteredUser(true);\n // setIsRegisteredUserMessage(\n // \"Your mobile number already registered. Please link with your account.\"\n // );\n // } else {\n // history.push({ pathname: \"/home/UAEregister\", state: uaePassUserInfo });\n // }\n // };\n\n const back = (e: any) => {\n e.preventDefault();\n window.location.replace(uaePassLogout);\n };\n\n return (\n <>\n
\n {/* {!usePassConfirmation && !linkUaePassAccount && ( */}\n
\n

{t(\"loginTitle\")}

\n {/* {t(\"loginSubTitle\")} */}\n\n
\n {/* */}\n\n \n {cList && callingCode && (\n x.phoneCode === callingCode)}\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n // setShowUAEError(false);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n if (event.key === \"Enter\") {\n checkUserForLogin();\n }\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setLoginMobile, setLoginMobileError);\n }}\n error={loginMobileError}\n helperText={loginMobileErrorText}\n />\n {\n handlePasswordChange(\n e,\n setLoginPass,\n setLoginPassError,\n setLoginPassErrorText\n );\n }}\n onKeyPress={(e: any) =>\n e.key === \"Enter\" && checkUserForLogin()\n }\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showPassword ? : }\n \n \n ),\n }}\n />\n
\n forgotPass(e)}>\n {t(\"Forgot Password ?\")}\n \n
\n
\n\n
\n checkUserForLogin()}\n >\n {\" \"}\n {t(\"loginButtonTitle\")}\n \n
\n {/* \n \n or\n
*/}\n\n {/* {showUAEError ? (\n
\n

{uaePassError}

\n
\n ) : null} */}\n\n {/* */}\n\n {/* */}\n\n
\n
New User?
\n registerFirst(e)}\n >\n {t(\"registerTitle\")}{\" \"}\n \n
\n {brandName !== \"colab\" && (\n
\n
Download Burjeel AL Dhannah App now!
\n
\n \n \n \n \n \n \n
\n
\n )}\n
\n \n {/* )} */}\n {/* {usePassConfirmation && (\n
\n back(e)}\n className=\"mt-5 d-block text-decoration-none backLogin\"\n >\n {\" \"}\n Back\n \n
{t(\"uaePass:uaepassProvider\")}
\n

\n {t(\"uaePass:providerMessage\")}\n

\n
\n handleUaePassYes()}\n style={{ backgroundColor: \"#ff8b00\", borderColor: \"#ff8b00\" }}\n >\n Yes *\n \n handleUaePassNo()}\n style={{ backgroundColor: \"#ff8b00\", borderColor: \"#ff8b00\" }}\n >\n No **\n \n
\n
\n

{t(\"uaePass:line1\")}

\n

{t(\"uaePass:line2\")}

\n

{t(\"uaePass:note\")}

\n
\n
\n )} \n {linkUaePassAccount && (\n
\n
{t(\"uaePass:uaepassProvider\")}
\n

\n ({t(\"uaePass:loginCredentialMessage\")})\n

\n\n
\n\n \n {cList && callingCode && (\n x.phoneCode === callingCode\n )}\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n setShowUAEError(false);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) =>\n \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n if (event.key === \"Enter\") {\n checkUser();\n }\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setLoginMobile, setLoginMobileError);\n }}\n error={loginMobileError}\n helperText={loginMobileErrorText}\n />\n
\n
\n {\n handlePasswordChange(\n e,\n setLoginPass,\n setLoginPassError,\n setLoginPassErrorText\n );\n }}\n onKeyPress={(e: any) =>\n e.key === \"Enter\" && linkAccountWithUaePAss()\n }\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showPassword ? : }\n \n \n ),\n }}\n />\n forgotPass(e)}\n style={{ color: \"#ff8b00\" }}\n >\n {t(\"Forgot Password ?\")}{\" \"}\n \n
\n\n
\n linkAccountWithUaePAss()}\n style={{ backgroundColor: \"#e1ecd0\", color: \"#000\" }}\n >\n {\" \"}\n {t(\"uaePass:submitButtonTitle\")}\n \n
\n
\n
Dont have an account?
\n uaePassregisterFirst(e)}\n style={{ color: \"#ff8b00\" }}\n >\n {t(\"uaePass:uaepassregisterTitle\")}\n \n
\n

{t(\"uaePass:note\")}

\n
\n \n )} */}\n \n\n \n \n {isRegisteredUserMessage}\n \n \n\n {modalType === \"error\" ? (\n \n \n {modalText}\n \n \n ) : (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default Login;\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const signupservice = {\n signupUser,\n};\n\nasync function signupUser(data: any) {\n const apiPath = API_ENDPOINTS.SIGNUP;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n firstName: data.firstName,\n lastName: data.lastName,\n email: data.email,\n mobile: data.mobile,\n callingCode: data.callingCode,\n dateOfBirth: data.dateOfBirth,\n genderId: data.genderId,\n countryId: data.countryId,\n documentTypeId: data.documentTypeId,\n documentId: data.documentId,\n password: data.password,\n otp: data.otp,\n referenceId: data.referenceId\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { wpAPI_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\nexport const appservice = {\n getLocation,\n getGender,\n getDocumentType,\n getRelation,\n SetNotificationByGender,\n getCountryList,\n SetNotificationType,\n SetNotificationByAge,\n getInAppPath,\n getAppCofigurations,\n deleteAccount,\n};\nasync function getLocation() {\n const apiPath = wpAPI_ENDPOINTS.GET_LOCATIONS;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function getCountryList() {\n const apiPath = API_ENDPOINTS.GET_COUNTRY;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getAppCofigurations() {\n const apiPath = API_ENDPOINTS.GET_APP_CONFIGURARION;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getGender() {\n const apiPath = API_ENDPOINTS.GET_GENDER;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function getInAppPath() {\n const apiPath = API_ENDPOINTS.SET_NOTIFICATION_INAPPPATH;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function SetNotificationType() {\n const apiPath = API_ENDPOINTS.SET_NOTIFICATION_TYPE;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function SetNotificationByAge() {\n const apiPath = API_ENDPOINTS.SET_NOTIFICATION_BY_AGE;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function SetNotificationByGender() {\n const apiPath = API_ENDPOINTS.SET_NOTIFICATION_BY_GENDER;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function getDocumentType() {\n const apiPath = API_ENDPOINTS.GET_DOCUMENT_TYPE;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getRelation() {\n const apiPath = API_ENDPOINTS.GET_RELATION;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function deleteAccount() {\n const apiPath = API_ENDPOINTS.DELETE_ACCOUNT;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import { useState, useEffect, useContext } from \"react\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport { signupservice } from \"../services/signup.service\";\nimport { appservice } from \"../services/app.service\";\nimport AuthContext from \"../store/auth-context\";\nimport { IconButton, InputAdornment, Paper, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport TextField from \"@material-ui/core/TextField\";\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport moment from \"moment\";\nimport { useTranslation } from \"react-i18next\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport countryList from \"../constants/countryList.json\";\nimport { Visibility, VisibilityOff } from \"@material-ui/icons\";\nimport NumberFormat from \"react-number-format\";\nimport { count } from \"console\";\n\nfunction Signup() {\n const history = useHistory();\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"profile\", \"changePassword\"]);\n\n const [nationalityList, setNationality] = useState([]);\n const [genderList, setGenderList] = useState([]);\n const [docTypeList, setDocTypeList] = useState([]);\n\n const [showModal, setShowModal] = useState(false);\n const [modalType, setModalType] = useState(\"error\");\n const [modalText, setModalText] = useState(\"\");\n\n const [fName, setfName] = useState(\"\");\n const [fNameError, setFnameError] = useState(false);\n\n const [lName, setlName] = useState(\"\");\n const [lNameError, setLnameError] = useState(false);\n\n const [gender, setGender] = useState(\"\");\n const [genderError, setGenderError] = useState(false);\n\n const [mobile, setLoginMobile] = useState(\"\");\n const [mobileError, setLoginMobileError] = useState(false);\n const [mobileErrorText, setLoginMobileErrorText] = useState(\"\");\n const [callingCode, setCallingCode] = useState(\"\");\n\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [selectedDOBError, setSelectedDOBError] = useState(false);\n const [selectedDOBErrorText, setSelectedDOBErrorText] = useState(\"\");\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(false);\n const [emailErrorText, setEmailErrorText] = useState(\"\");\n\n const [docId, setDocId] = useState(\"\");\n const [docIdError, setDocIdError] = useState(false);\n const [docIdErrorText, setDocIdErrorText] = useState(\"\");\n\n const [docType, setDocType] = useState(0);\n const [docTypeError, setDocTypeError] = useState(false);\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(false);\n\n const [pass, setPass] = useState(\"\");\n const [passError, setPassError] = useState(false);\n const [passErrorText, setPassErrorText] = useState(\"\");\n\n const [cPass, setCpass] = useState(\"\");\n const [cpassError, setCpassError] = useState(false);\n const [cPassErrorText, setCpassErrorText] = useState(\"\");\n\n const [showNewPassword, setShowNewPassword] = useState(false);\n const handleClickShowNewPassword = () => setShowNewPassword(!showNewPassword);\n const handleMouseDownNewPassword = () => setShowNewPassword(!showNewPassword);\n\n const [showComparePassword, setShowComparePassword] = useState(false);\n const handleClickShowComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n const handleMouseDownComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n\n const location: any = useLocation();\n\n const otp = location.state.otp;\n const referenaceId = location.state.referanceId;\n const prospectUser = location.state.prospectUser;\n\n useEffect(() => {\n if (prospectUser) {\n setfName(prospectUser.firstName ? prospectUser.firstName : \"\");\n setlName(prospectUser.lastName ? prospectUser.lastName : \"\");\n setEmail(prospectUser.email ? prospectUser.email : \"\");\n setGender(prospectUser.genderId ? prospectUser.genderId : \"\");\n setLoginMobile(prospectUser.mobile ? prospectUser.mobile : \"\");\n setSelectedDOB(prospectUser.dateOfBirth ? prospectUser.dateOfBirth : null);\n setCountry(prospectUser.countryId ? prospectUser.countryId : \"\");\n setDocType(prospectUser.documentTypeId ? prospectUser.documentTypeId : \"\");\n setDocId(prospectUser.documentNumber ? prospectUser.documentNumber : \"\");\n }\n const getCountryCode = async () => {\n const listFromApi = await fetchCountryCode();\n setNationality(listFromApi);\n };\n const getDocumentTypeList = async () => {\n const listFromApi = await fetchDocTypeList();\n setDocTypeList(listFromApi);\n };\n const getGenderList = async () => {\n const listFromApi = await fetchGenderList();\n setGenderList(listFromApi);\n };\n\n getGenderList();\n getCountryCode();\n getDocumentTypeList();\n setMobileData();\n setDocumentDetails();\n\n // eslint-disable-next-line\n }, []);\n\n const setMobileData = () => {\n if (authCtx.cCode === \"\") {\n setCallingCode(\"971\");\n } else {\n setLoginMobile(authCtx.userMobile);\n setCallingCode(authCtx.cCode);\n }\n };\n\n const setDocumentDetails = () => {\n if (authCtx.docType !== 0 && authCtx.documentId !== \"\") {\n setDocType(authCtx.docType);\n setDocId(authCtx.documentId);\n } else {\n setDocType(0);\n setDocId(\"\");\n }\n };\n\n const handleClose = () => setShowModal(false);\n const handleShow = () => setShowModal(true);\n\n const fetchCountryCode = async () => {\n let res = await appservice.getCountryList();\n return res;\n };\n\n const fetchGenderList = async () => {\n let res = await appservice.getGender();\n return res;\n };\n const fetchDocTypeList = async () => {\n let res = await appservice.getDocumentType();\n return res;\n };\n\n function validateForm() {\n let isValid: boolean = true;\n if (fName.trim() === \"\") {\n setFnameError(true);\n isValid = false;\n }\n if (lName.trim() === \"\") {\n setLnameError(true);\n isValid = false;\n }\n if (gender === \"\" || gender === \"0\" || gender === null) {\n setGenderError(true);\n isValid = false;\n }\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n isValid = false;\n }\n\n if (email.trim() === \"\" || emailError) {\n setEmailError(true);\n isValid = false;\n }\n if (docId.trim() === \"\" || docIdError) {\n setDocIdError(true);\n isValid = false;\n }\n\n if (country === null || country === \"\" || country === \"0\" || countryError) {\n setCountryError(true);\n isValid = false;\n }\n if (docType === null || docType === 0 || docTypeError) {\n setDocTypeError(true);\n isValid = false;\n }\n if (pass.trim() === \"\" || passError) {\n setPassError(true);\n isValid = false;\n }\n if (cPass.trim() === \"\" || cpassError) {\n setCpassError(true);\n isValid = false;\n }\n return isValid;\n }\n\n function checkEmirateId() {\n let isValid: boolean = true;\n if (docType.toString() === \"1\") {\n const emirateId = docId;\n const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n const compereCodeWith =\n \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n if (emirateId !== compereCodeWith) {\n isValid = false;\n }\n }\n return isValid;\n }\n\n let handleSubmit = async () => {\n let data;\n if (validateForm()) {\n if (checkEmirateId()) {\n authCtx.toggleLoader(true);\n data = {\n firstName: fName.trim(),\n lastName: lName.trim(),\n email: email.trim(),\n mobile: mobile.trim(),\n callingCode: callingCode.trim(),\n dateOfBirth: moment(selectedDOB).toISOString(),\n genderId: gender,\n countryId: country,\n documentTypeId: docType,\n documentId: docId,\n password: pass,\n otp: otp,\n referenceId: referenaceId,\n };\n //localStorage.setItem(\"userData\", JSON.stringify(data));\n let res = await signupservice.signupUser(data);\n if (res.message.status === \"Success\") {\n authCtx.setToken(res.data.token);\n let temp = {\n userId: res.data.userId,\n firstName: res.data.firstName,\n lastName: res.data.lastName,\n gender: res.data.gender,\n email: res.data.email,\n mobile: mobile.trim(),\n callingCode: callingCode.trim(),\n profileImgUrl: res.data.profileImgUrl,\n profileImgFileName: res.data.profileImgFileName,\n refreshToken: res.data.refreshToken,\n roleId: res.data.roleId,\n roleName: res.data.roleName,\n refreshExpiresAt: res.data.refreshExpiresAt,\n tokenExpiresAt: res.data.tokenExpiresAt,\n isDOBAvailable: res.data.isDOBAvailable,\n facilityId: res.data.facilityId,\n };\n // localStorage.setItem(\"refreshToken\", res.data.refreshToken);\n // localStorage.setItem(\"tokenExpiresAt\", res.data.tokenExpiresAt);\n // localStorage.setItem(\"refreshExpiresAt\", res.data.refreshExpiresAt);\n authCtx.setUserInfo(temp);\n history.push(\"/auth/dashboard\");\n // authCtx.toggleLoader(false);\n // handleShow();\n // setModalType(\"success\");\n // setModalText(t(\"profile:saveRegSuccess\"));\n // setTimeout(() => {\n // setModalText(\"\");\n // handleClose();\n // history.push(\"/home/login\");\n // }, 3000);\n } else {\n authCtx.toggleLoader(false);\n handleShow();\n setModalType(\"error\");\n setModalText(t(\"profile:saveRegError\"));\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n history.push(\"/home/login\");\n }, 3000);\n }\n } else {\n authCtx.toggleLoader(false);\n setShowModal(true);\n setModalType(\"error\");\n setModalText(t(\"Emirates id or date of birth is invalid, please check\"));\n }\n } else {\n setShowModal(true);\n setModalType(\"error\");\n setModalText(\"All fields are required\");\n }\n authCtx.toggleLoader(false);\n };\n const handleDOBChange = (date: any | null) => {\n if (date !== null && date.toString() !== \"Invalid Date\") {\n const offset = date.getTimezoneOffset();\n date = new Date(date.getTime() - offset * 60 * 1000);\n setSelectedDOB(date);\n }\n let isValid = moment(date, \"DD/MM/YYYY\", true).isValid();\n if (isValid) {\n let today = moment(new Date().getDate() + 1, \"DD/MM/YYYY\");\n let selectedDate = moment(date, \"DD/MM/YYYY\");\n if (moment(selectedDate).isAfter(today)) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"profile:dobRangeError\"));\n } else {\n setSelectedDOBError(false);\n setSelectedDOBErrorText(\"\");\n }\n } else {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"profile:dobFormatError\"));\n }\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n\n if (e.target.id === \"pass\") {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n setPassErrorText(t(\"\"));\n } else {\n if (e.target.value.length > 50 || e.target.value.length < 8) {\n errorSetterName(true);\n setPassErrorText(t(\"changePassword:invalidPassword\"));\n } else {\n errorSetterName(false);\n setPassErrorText(t(\"\"));\n }\n }\n } else {\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n } else {\n errorSetterName(false);\n }\n }\n }\n };\n\n const handleDocIdChange = (e: any) => {\n let pattern = /^784[0-9]{12}$/;\n if (docType === 1) {\n let text = e.target.value;\n let emirateId = text.replace(/-/g, \"\").trim();\n setDocId(emirateId);\n if (pattern.test(emirateId)) {\n if (emirateId.length < 8) {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n } else {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n }\n } else {\n setDocId(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setDocIdError(true);\n setDocIdErrorText(\"\");\n } else if (e.target.value.length < 5) {\n setDocIdError(true);\n setDocIdErrorText(t(\"profile:docIdInvalidError\"));\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n }\n };\n\n const handleConfirmPasswordChange = (e: any) => {\n setCpass(e.target.value);\n let confirmPass = e.target.value;\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setCpassError(true);\n setCpassErrorText(\"\");\n } else {\n if (e.target.value.length > 50 || e.target.value.length < 8) {\n setCpassError(true);\n setCpassErrorText(t(\"changePassword:invalidPassword\"));\n } else {\n if (pass !== confirmPass) {\n setCpassError(true);\n setCpassErrorText(\n t(\"changePassword:passNotMatch\")\n );\n } else {\n setCpassError(false);\n setCpassErrorText(\"\");\n }\n }\n }\n };\n\n const handleEmailChange = (e: any) => {\n setEmail(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setEmailError(true);\n setEmailErrorText(\"\");\n } else if (\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(e.target.value)\n ) {\n setEmailError(true);\n setEmailErrorText(t(\"profile:emailValidError\"));\n } else {\n setEmailError(false);\n setEmailErrorText(\"\");\n }\n };\n\n const handleMobileChange = (e: any) => {\n setLoginMobile(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"\");\n } else {\n if (e.target.value.length < 8) {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"Enter valid mobile no.\");\n } else {\n setLoginMobileError(false);\n setLoginMobileErrorText(\"\");\n }\n }\n };\n\n return (\n <>\n
\n

{t(\"profile:signUpTitle\")}

\n \n {\" \"}\n {t(\"profile:signUpSubTitle\")}\n \n
\n
\n
\n {\n handleInputChange(e, setfName, setFnameError);\n }}\n />\n
\n
\n
\n
\n {\n handleInputChange(e, setlName, setLnameError);\n }}\n />\n
\n
\n
\n
\n
\n {countryList && callingCode && (\n x.phoneCode === callingCode\n )}\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleMobileChange(e);\n }}\n />\n
\n
\n\n
\n {\n handleEmailChange(e);\n }}\n />\n
\n\n
\n \n
\n\n
\n
\n
\n {\n setGender(e.target.value);\n setGenderError(false);\n }}\n >\n {genderList &&\n genderList.length > 0 &&\n genderList.map((item: any) => (\n {item.text}\n ))}\n \n
\n
\n
\n
\n {\n setCountry(e.target.value);\n setCountryError(false);\n }}\n >\n {nationalityList &&\n nationalityList.length > 0 &&\n nationalityList.map((country: any) => (\n {country.text}\n ))}\n \n
\n
\n
\n
\n
\n
\n {\n setDocType(e.target.value);\n setDocId(\"\");\n }}\n >\n {docTypeList &&\n docTypeList.length > 0 &&\n docTypeList.map((item: any) => (\n {item.text}\n ))}\n \n
\n
\n
\n
\n {docType === 1 ? (\n {\n handleDocIdChange(e);\n }}\n />\n ) : (\n {\n handleDocIdChange(e);\n }}\n />\n )}\n
\n
\n
\n\n
\n {\n handleInputChange(e, setPass, setPassError);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showNewPassword ? : }\n \n \n ),\n }}\n />\n
\n\n
\n {\n handleConfirmPasswordChange(e);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showComparePassword ? : }\n \n \n ),\n }}\n />\n
\n\n handleSubmit()}\n >\n {t(\"profile:complete\")}{\" \"}\n \n
\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default Signup;\n","import { useState, useEffect, useContext } from \"react\";\nimport { useHistory, Link } from \"react-router-dom\";\nimport TextField from \"@material-ui/core/TextField\";\n\nimport { IconButton, InputAdornment, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport cList from \"../constants/countryList.json\";\nimport { loginservice } from \"../services/login.service\";\nimport AuthContext from \"../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport { Visibility, VisibilityOff } from \"@material-ui/icons\";\nimport moment from \"moment\";\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\n\nfunction ForgetPass() {\n const { t } = useTranslation([\"login\", \"forgetPass\"]);\n\n const history = useHistory();\n const authCtx = useContext(AuthContext);\n\n // const [mobileCode, setMobileCode] = useState(\"971\");\n\n const [existingCallingCode, setExistingCallingCode] = useState(\"971\");\n\n const [pass, setPass] = useState(\"\");\n const [passError, setPassError] = useState(false);\n const [PassErrorText, setPassErrorText] = useState(\"\");\n\n const [cPass, setCpass] = useState(\"\");\n const [cpassError, setCpassError] = useState(false);\n const [cPassErrorText, setCpassErrorText] = useState(\"\");\n\n const [loginMobile, setLoginMobile] = useState(\"\");\n const [loginMobileError, setLoginMobileError] = useState(false);\n const [isOtpVerified, setIsOtpVerified] = useState(true);\n\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [selectedDOBError, setSelectedDOBError] = useState(false);\n const [selectedDOBErrorText, setSelectedDOBErrorText] = useState(\"\");\n\n const [otp, setOtp] = useState(\"\");\n const [otpError, setOtpError] = useState(false);\n const [otpErrortext, setOtpErrorText] = useState(\"\");\n const [isOtpSent, setIsOtpSent] = useState(false);\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n\n const [second, setSecond] = useState(\"00\");\n const [minute, setMinute] = useState(\"00\");\n const [isActive, setIsActive] = useState(false);\n const [counter, setCounter] = useState(60);\n\n const [showNewPassword, setShowNewPassword] = useState(false);\n const handleClickShowNewPassword = () => setShowNewPassword(!showNewPassword);\n const handleMouseDownNewPassword = () => setShowNewPassword(!showNewPassword);\n\n const [showComparePassword, setShowComparePassword] = useState(false);\n const handleClickShowComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n const handleMouseDownComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n const [resetPassOtpValidity, setResetPassOtpValidity] = useState(0);\n useEffect(() => {\n let user = JSON.parse(localStorage.getItem(\"userMobile\") ?? \"{}\");\n if (user.mobileNumber !== \"\" && user.mobileNumber !== undefined) {\n setLoginMobile(user.mobileNumber);\n setExistingCallingCode(user.callingCode);\n }\n }, []);\n\n useEffect(() => {\n let intervalId: any;\n if (isActive) {\n intervalId = setInterval(() => {\n if (counter > 0) {\n const secondCounter = counter % 60;\n const minuteCounter = Math.floor(counter / 60);\n const computedSecond =\n String(secondCounter).length === 1\n ? `0${secondCounter}`\n : secondCounter;\n const computedMinute =\n String(minuteCounter).length === 1\n ? `0${minuteCounter}`\n : minuteCounter;\n setSecond(computedSecond.toString());\n setMinute(computedMinute.toString());\n setCounter((counter) => counter - 1);\n } else {\n setIsActive(false);\n setCounter(0);\n setSecond(\"00\");\n setMinute(\"00\");\n }\n }, 1000);\n }\n\n return () => clearInterval(intervalId);\n }, [isActive, counter]);\n\n const handleClose = () => setShowModal(false);\n const handleShow = () => setShowModal(true);\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if (errorSetterName) {\n if (e.target.name === \"pass\" || e.target.name === \"otp\") {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n if (e.target.name === \"pass\") {\n setPassErrorText(t(\"forgetPass:passError\"));\n }\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"login:otpError\"));\n }\n } else {\n if (e.target.name === \"otp\") {\n const re = /^[0-9\\b]+$/;\n if (!re.test(e.target.value)) {\n errorSetterName(true);\n setOtpErrorText(t(\"login:numberError\"));\n }\n } else {\n errorSetterName(false);\n setPassErrorText(\"\");\n setOtpErrorText(\"\");\n }\n }\n }\n } else {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n } else {\n errorSetterName(false);\n }\n }\n };\n\n const handleConfirmPasswordChange = (e: any) => {\n setCpass(e.target.value);\n let confirmPass = e.target.value;\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setCpassError(true);\n setCpassErrorText(\"\");\n } else {\n if (pass !== confirmPass) {\n setCpassError(true);\n setCpassErrorText(t(\"forgetPass:passNotMatch\"));\n } else {\n setCpassError(false);\n setCpassErrorText(\"\");\n }\n }\n };\n\n function validateOtp() {\n let isValid: boolean = true;\n if (otp.trim() === \"\") {\n setOtpError(true);\n isValid = false;\n }\n return isValid;\n }\n\n let handleOtp = async () => {\n if (otp.length < 6) {\n setOtpError(true);\n setOtpErrorText(t(\"login:otpInvalidError\"));\n } else {\n if (validateOtp()) {\n // let mbc;\n // if (mobileCode === \"\") {\n // mbc = existingCallingCode;\n // } else {\n // mbc = mobileCode;\n // }\n\n let res = await loginservice.verifyOTP(\n existingCallingCode,\n loginMobile,\n otp\n );\n\n if (res.validOtp && res.message === \"Success\") {\n setIsOtpVerified(false);\n } else if (res && res.message && res.status === \"AccountLocked\") {\n setModalText(t(res.message));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n history.push(\"/home/login\");\n }, 3000);\n } else {\n if (!res.validOtp) {\n handleShow();\n setModalType(\"error\");\n setModalText(t(\"login:otpVerifyError\"));\n setTimeout(() => {\n handleClose();\n setModalText(\"\");\n }, 3000);\n }\n }\n }\n }\n };\n\n const handleDOBChange = (date: any | null) => {\n if (date !== null && date.toString() !== \"Invalid Date\") {\n const offset = date.getTimezoneOffset();\n date = new Date(date.getTime() - offset * 60 * 1000);\n setSelectedDOB(date);\n }\n let isValid = moment(date, \"DD/MM/YYYY\", true).isValid();\n if (isValid) {\n let today = moment(new Date().getDate() + 1, \"DD/MM/YYYY\");\n let selectedDate = moment(date, \"DD/MM/YYYY\");\n if (moment(selectedDate).isAfter(today)) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobRangeError\"));\n } else {\n setSelectedDOBError(false);\n setSelectedDOBErrorText(\"\");\n }\n } else {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobFormatError\"));\n }\n };\n\n function validatePass() {\n let isValid: boolean = true;\n if (pass.trim() === \"\" || pass.length < 8) {\n setPassError(true);\n setPassErrorText(\"Password must be 8 character long\");\n isValid = false;\n }\n if (cPass.trim() === \"\" || pass !== cPass) {\n setCpassError(true);\n setCpassErrorText(\"Password do not match\");\n isValid = false;\n }\n\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"Please select your date of birth\"));\n isValid = false;\n }\n return isValid;\n }\n\n const validateForgotPass = () => {\n let isValid: boolean = true;\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"Please select your date of birth\"));\n isValid = false;\n }\n return isValid;\n };\n\n let handleSubmit = async () => {\n if (validatePass()) {\n // let mbc;\n // if (mobileCode === \"\") {\n // mbc = existingCallingCode;\n // } else {\n // mbc = mobileCode;\n // }\n\n let res = await loginservice.resetPass(\n existingCallingCode,\n loginMobile,\n otp,\n pass\n );\n if (res.message.status === \"Success\") {\n setModalText(t(\"forgetPass:resetPassSuccess\"));\n handleShow();\n setModalType(\"success\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n history.push(\"/home/login\");\n }, 3000);\n } else {\n setModalText(t(\"forgetPass:resetPassError\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n handleClose();\n setModalText(\"\");\n }, 3000);\n }\n }\n };\n\n const back = () => {\n history.goBack();\n };\n\n let forgotPass = async () => {\n if (validateForgotPass()) {\n authCtx.toggleLoader(true);\n let res = await loginservice.forgotPassOtp(\n existingCallingCode,\n loginMobile,\n moment(selectedDOB).toISOString().slice(0, 10)\n );\n authCtx.toggleLoader(false);\n if (res && res.message && res.message.status === \"Success\") {\n setModalText(t(\"login:otpSendSuccess\"));\n handleShow();\n setModalType(\"success\");\n setIsActive(true);\n setResetPassOtpValidity(res.data.otpValidity);\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n setIsOtpSent(true);\n }, 3000);\n } else if (res && res.message && res.message.status === \"AccountLocked\") {\n setModalText(t(\"User account locked due to multiple incorrect attempts. Please try again later.\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else if (res && res.message && res.message.status === \"NotFound\") {\n setModalText(t(\"User not found, please register\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else if (res && res.message && res.message.status === \"Invalid\") {\n setModalText(\"Invalid date of birth\");\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else if (res && res.message && res.message === \"Network Error\") {\n setModalText(t(\"toManyAttempt\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else {\n setModalText(t(\"login:otpSendError\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setIsOtpSent(false);\n setModalText(\"\");\n handleClose();\n }, 3000);\n }\n }\n };\n\n return (\n
\n {\n e.preventDefault();\n back();\n }}\n className=\"mt-5 d-block text-decoration-none backLogin\"\n >\n {\" \"}\n {t(\"Back\")}\n \n

{t(\"forgetPass:resetPass\")}

\n {!isOtpSent && (\n
\n \n
\n {cList && existingCallingCode && (\n x.phoneCode === existingCallingCode\n )}\n onChange={(event, value) => {\n setExistingCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setLoginMobile, setLoginMobileError);\n }}\n />\n
\n
\n \n
\n\n {loginMobileError && (\n
Please enter valid number
\n )}\n\n forgotPass()}\n >\n {\" \"}\n {t(\"Continue\")}\n \n
\n )}\n\n {isOtpSent && (\n
\n {isOtpVerified && (\n
\n
\n \n {\" \"}\n {t(\"otpTitle\")}\n \n {\" \"}\n +{existingCallingCode}-\n {loginMobile}\n \n \n
\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setOtp, setOtpError);\n }}\n />\n { resetPassOtpValidity != null && resetPassOtpValidity != 0 ? (<>

{t(\"otpValidity\")}{\" \"}{resetPassOtpValidity}{\" mins.\"}

) : <>}\n
\n

\n {t(\"resendOtp\")}{\" \"}\n \n {minute}\n :\n {second}\n \n

\n\n {\n e.preventDefault();\n forgotPass();\n }}\n >\n {\" \"}\n {t(\"login:resendOtpLink\")}\n \n\n handleOtp()}\n >\n {\" \"}\n {t(\"login:continue\")}\n \n
\n
\n )}\n {!isOtpVerified && (\n
\n
\n
\n
\n
\n {\n handleInputChange(e, setPass, setPassError);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showNewPassword ? (\n \n ) : (\n \n )}\n \n \n ),\n }}\n />\n
\n
\n
\n
\n {\n handleConfirmPasswordChange(e);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showComparePassword ? (\n \n ) : (\n \n )}\n \n \n ),\n }}\n />\n
\n
\n
\n handleSubmit()}\n >\n {\" \"}\n {t(\"login:continue\")}\n \n
\n
\n )}\n
\n )}\n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n
\n );\n}\n\nexport default ForgetPass;\n","import axios from \"axios\";\n\n// {headers:{'Auth-Key': '6Q8R9SBUCVDXFYGZJ3K4M5P7Q'}}\nconst axiosInstance: any = axios.create();\n\nexport async function makeRequestForWP({ path }: any) {\n \n try {\n let wpBaseUrl = localStorage.getItem('wpBaseUrl');\n const response = await axiosInstance.get(wpBaseUrl+path);\n return response;\n } catch (error) {\n return error;\n }\n}\n\nexport async function makeRequestForWPPost({ path, body }: any) {\n \n try {\n let wpBaseUrl = localStorage.getItem('wpBaseUrl');\n const response = await axiosInstance.post(wpBaseUrl+path, body);\n return response;\n } catch (error) {\n return error;\n }\n}\n\n","import { API_ENDPOINTS, wpAPI_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\nimport { makeRequestForWP } from \"../middleware/axiosForWordpress\";\n\nexport const dashboardservice = {\n logout,\n getProfile,\n saveProfile,\n saveProfileImg,\n removeProfileImg,\n getConditions,\n getBannerImg,\n getCounsltedDoc,\n askDoctor,\n feedback,\n contactUs,\n getInsurence,\n getAllNews,\n getSpecificNews,\n getAllMedia,\n getSpecificMedia,\n getAllHealthPackages,\n getSpecificHealthPackage,\n bookHealthPackage,\n getTermsAndCondition,\n getPrivacyPolicy,\n getRestrictedInsurance,\n getPatientDetails,\n};\n\nasync function logout() {\n const apiPath = API_ENDPOINTS.LOGOUT;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function getProfile() {\n const apiPath = API_ENDPOINTS.GET_PROFILE;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function saveProfile(data: any) {\n const apiPath = API_ENDPOINTS.SAVE_PROFILE;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n \"firstName\": data.firstName,\n \"lastName\": data.lastName,\n \"email\": data.email,\n \"mobile\": data.mobile,\n \"callingCode\": data.callingCode,\n \"dateOfBirth\": data.dateOfBirth,\n \"genderId\": data.genderId,\n \"countryId\": data.countryId,\n \"documentTypeId\": data.documentTypeId,\n \"documentId\": data.documentId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function saveProfileImg(data: any) {\n const apiPath = API_ENDPOINTS.SAVE_PROFILE_IMG;\n const options = {\n path: apiPath,\n method: \"POST\",\n formdata: data,\n customHeaders: {\n \"Content-Type\": \"multipart/form-data\",\n },\n };\n return await makeRequest(options);\n}\nasync function removeProfileImg() {\n const apiPath = API_ENDPOINTS.DELETE_PROFILE_IMG;\n const options = {\n path: apiPath,\n method: \"DELETE\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getConditions() {\n const apiPath = wpAPI_ENDPOINTS.GET_ALL_SPECIALITIES;\n const options = {\n path: apiPath,\n };\n return await makeRequestForWP(options);\n}\n\nasync function getBannerImg(category: any) {\n //const apiPath = wpAPI_ENDPOINTS.GET_WEB_BANNER_IMG + category + \"&lang=en\";\n const apiPath = wpAPI_ENDPOINTS.GET_WEB_BANNER_IMG;\n const options = {\n path: apiPath,\n };\n return await makeRequestForWP(options);\n}\n\nasync function getCounsltedDoc(data: any) {\n let brandName = localStorage.getItem(\"brandName\");\n const apiPath =\n API_ENDPOINTS.GET_CONSULTED_DOC +\n \"patientId=\" +\n data.patientId +\n \"&familyMemberId=\" +\n data.familyMemberId +\n \"&brandName=\" +\n brandName;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function askDoctor(data: any) {\n const apiPath = API_ENDPOINTS.ASK_DOCTOR;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n firstName: data.firstName,\n lastName: data.lastName,\n email: data.email,\n mobile: data.mobile,\n callingCode: data.callingCode,\n isEmailCommunication: data.isEmailCommunication,\n isMobileCommunication: data.isMobileCommunication,\n comment: data.comment,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function feedback(data: any) {\n const apiPath = API_ENDPOINTS.FEEDBACK;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n inPatient: data.inPatient,\n expierience: data.experience,\n name: data.name,\n email: data.email,\n callingCode: data.callingCode,\n mobile: data.mobile,\n comment: data.comment,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function contactUs(data: any) {\n const apiPath = API_ENDPOINTS.CONTACT_US;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n firstName: data.firstName,\n lastName: data.lastName,\n email: data.email,\n mobile: data.mobile,\n callingCode: data.callingCode,\n message: data.message,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function bookHealthPackage(data: any) {\n const apiPath = API_ENDPOINTS.BOOK_HEALTH_PACKAGE;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n facilityId: [data.facilityId],\n firstName: data.firstName,\n lastName: data.lastName,\n email: data.email,\n mobile: data.mobile,\n callingCode: data.callingCode,\n packageName: data.packageName,\n subPackageName: data.subPackageName,\n hospitalLocation: data.hospitalLocation,\n apptDate: data.apptDate,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getInsurence() {\n const apiPath = wpAPI_ENDPOINTS.GET_ALL_INSURENCE;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getAllNews() {\n const apiPath = wpAPI_ENDPOINTS.GET_ALL_NEWS;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getSpecificNews(data: any) {\n const apiPath = wpAPI_ENDPOINTS.GET_SPECIFIC_NEWS + data.newsId;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getAllMedia() {\n const apiPath = wpAPI_ENDPOINTS.GET_ALL_MEDIA;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getSpecificMedia(data: any) {\n const apiPath = wpAPI_ENDPOINTS.GET_SPECIFIC_MEDIA + data.mediaId;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getAllHealthPackages() {\n const apiPath = wpAPI_ENDPOINTS.GET_ALL_HEALTHPACKAGES;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getSpecificHealthPackage(packageName: any) {\n const apiPath = wpAPI_ENDPOINTS.GET_SPECIFIC_HEALTHPACKAGE + packageName;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getTermsAndCondition() {\n const apiPath = wpAPI_ENDPOINTS.GET_TERMSNCONDITION;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getPrivacyPolicy() {\n const apiPath = wpAPI_ENDPOINTS.GET_PRIVACYPOLICY;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getRestrictedInsurance(id: any) {\n const apiPath =\n wpAPI_ENDPOINTS.GET_ALL_RESTRICTED_INSURANCE + \"?location_id=\" + id;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequestForWP(options);\n}\n\nasync function getPatientDetails(data: any) {\n const apiPath = API_ENDPOINTS.GET_PATIENT_DETAILS;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n patientDetails: {\n his: data.his,\n patientId: data.patientId,\n institution: data.institution,\n },\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import { useState, useEffect, useContext } from \"react\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport AuthContext from \"../../store/auth-context\";\n\nconst LoginBanner = () => {\n const authCtx = useContext(AuthContext);\n const [bannerList, setBannerList] = useState([])\n\n useEffect(() => {\n const getBanners = async () => {\n const listFromApi = await fetchBannerImges()\n if (listFromApi && listFromApi.data && listFromApi.data.data) {\n setBannerList(listFromApi.data.data)\n }else{\n setBannerList([]);\n }\n }\n if(authCtx.wpBaseUrl && authCtx.wpBaseUrl !== null && authCtx.wpBaseUrl !== \"\"){\n getBanners();\n }\n }, [authCtx.wpBaseUrl])\n\n const fetchBannerImges = async () => {\n //let res = await dashboardservice.getBannerImg(\"Login\");\n let res = await dashboardservice.getBannerImg(\"login\");\n return res\n }\n return (\n <>\n
\n \n
\n {bannerList &&\n bannerList.map((item: any, index: any) => (\n \n ))}\n
\n
\n {bannerList &&\n bannerList.map((item: any, index: any) => (\n \n \n
\n ))}\n
\n \n \n \n );\n}\n\nexport default LoginBanner\n","import { useState, useEffect, useContext } from \"react\";\nimport { useHistory, Link } from \"react-router-dom\";\nimport TextField from \"@material-ui/core/TextField\";\nimport { loginservice } from \"../../services/login.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport { Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\n\nfunction Otp(props: any) {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"login\"]);\n const history = useHistory();\n\n const [otp, setOtp] = useState(\"\");\n const [otpError, setOtpError] = useState(false);\n const [otpErrortext, setOtpErrorText] = useState(\"\");\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n const [second, setSecond] = useState(\"00\");\n const [minute, setMinute] = useState(\"00\");\n const [isActive, setIsActive] = useState(true);\n const [counter, setCounter] = useState(60);\n\n useEffect(() => {\n let intervalId: any;\n if (isActive) {\n intervalId = setInterval(() => {\n if (counter > 0) {\n const secondCounter = counter % 60;\n const minuteCounter = Math.floor(counter / 60);\n const computedSecond =\n String(secondCounter).length === 1\n ? `0${secondCounter}`\n : secondCounter;\n const computedMinute =\n String(minuteCounter).length === 1\n ? `0${minuteCounter}`\n : minuteCounter;\n setSecond(computedSecond.toString());\n setMinute(computedMinute.toString());\n setCounter((counter) => counter - 1);\n } else {\n setIsActive(false);\n setCounter(60);\n setSecond(\"00\");\n setMinute(\"00\");\n }\n }, 1000);\n }\n\n return () => clearInterval(intervalId);\n }, [isActive, counter]);\n\n let checkUser = async () => {\n const data = {\n callingCode: props.ccode,\n loginMobile: props.loginMobile,\n isInvokedForLogin: props.isInvokedForLogin,\n dateOfBirth: props.selectedDOB,\n documentTypeId: props.docType,\n documentId: props.docId,\n referenceId: props.referanceId,\n };\n authCtx.toggleLoader(true);\n let res = await loginservice.checkUser(data);\n authCtx.toggleLoader(false);\n if (res.otpSent) {\n setIsActive(true);\n setModalText(\"OTP sent to your mobile number\");\n setModalType(\"success\");\n setShowModal(true);\n } else {\n setModalText(\"Error in sending otp\");\n setModalType(\"error\");\n setShowModal(true);\n }\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"otpError\"));\n }\n } else {\n const re = /^[0-9\\b]+$/;\n if (!re.test(e.target.value)) {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"numberError\"));\n }\n } else {\n errorSetterName(false);\n setOtpErrorText(\"\");\n }\n }\n }\n };\n\n const handleClose = () => setShowModal(false);\n const handleShow = () => setShowModal(true);\n function validateOtp() {\n let isValid: boolean = true;\n if (otp.trim() === \"\" || otpError) {\n setOtpError(true);\n isValid = false;\n }\n return isValid;\n }\n\n let handleOtp = async () => {\n authCtx.toggleLoader(true);\n if (otp.length < 6) {\n setOtpError(true);\n setOtpErrorText(t(\"otpInvalidError\"));\n authCtx.toggleLoader(false);\n } else {\n if (validateOtp()) {\n let res = await loginservice.verifyOTPFOrRegistration(\n props.referanceId,\n otp\n );\n authCtx.toggleLoader(false);\n if (res.validOtp) {\n if (props.userData !== null) {\n authCtx.setUserInfo(props.userData);\n } else {\n authCtx.setUserInfo(null);\n }\n\n history.push({\n pathname: \"/home/sign-up\",\n state: {\n otp: otp,\n referanceId: props.referanceId,\n prospectUser: res.prospectUser,\n },\n });\n } else {\n if (!res.validOtp) {\n setModalText(t(\"otpVerifyError\"));\n handleShow();\n }\n }\n }\n }\n };\n\n const back = (e: any) => {\n e.preventDefault();\n props.onClick();\n };\n\n return (\n <>\n
\n back(e)}\n className=\"mt-5 d-block text-decoration-none backLogin\"\n >\n {\" \"}\n Back\n \n

{t(\"OTP\")}

\n \n {\" \"}\n {t(\"otpTitle\")}\n \n {\" \"}\n +{props.ccode}-{props.loginMobile}\n \n \n
\n {/* */}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setOtp, setOtpError);\n }}\n />\n
\n

\n {t(\"resendOtp\")}{\" \"}\n \n {minute}\n :\n {second}\n \n

\n\n {\n e.preventDefault();\n checkUser();\n }}\n >\n {\" \"}\n {t(\"resendOtpLink\")}\n \n\n handleOtp()}\n >\n {\" \"}\n {t(\"continue\")}\n \n
\n {modalType === \"error\" ? (\n \n \n {modalText}\n \n \n ) : (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default Otp;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport Parser from \"html-react-parser\";\nimport AuthContext from \"../../store/auth-context\";\n\nfunction PrivacyPolicy() {\n const authCtx = useContext(AuthContext);\n const [privacyPolicyDetails,setprivacyPolicyDetails] = useState(\"\");\n useEffect(()=> {\n fetchPrivacyPolicy();\n // eslint-disable-next-line\n },[]);\n\n const fetchPrivacyPolicy = async () =>{ \n authCtx.toggleLoader(true);\n const res = await dashboardservice.getPrivacyPolicy();\n if(res && res.data && res.data.status === \"success\"){\n setprivacyPolicyDetails(res.data.data);\n }\n authCtx.toggleLoader(false);\n }\n\n return (\n
\n
\n
\n {privacyPolicyDetails && Parser(privacyPolicyDetails.page_text)}\n
\n
\n
\n );\n}\n\nexport default PrivacyPolicy;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport Parser from \"html-react-parser\";\nimport AuthContext from \"../../store/auth-context\";\n\nfunction TermAndCon() {\n const authCtx = useContext(AuthContext);\n const [tncDetails,setTncDetails] = useState(\"\");\n useEffect(()=> {\n fetchTermsAndCondition()\n // eslint-disable-next-line\n },[]);\n\n const fetchTermsAndCondition = async () =>{ \n authCtx.toggleLoader(true);\n const res = await dashboardservice.getTermsAndCondition();\n if(res && res.data && res.data.status === \"success\"){\n setTncDetails(res.data.data);\n }\n authCtx.toggleLoader(false);\n }\n return (\n
\n
\n
\n {tncDetails && Parser(tncDetails.page_text)}\n
\n
\n
\n );\n}\n\nexport default TermAndCon;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { loginservice } from \"../../services/login.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport cList from \"../../constants/countryList.json\";\nimport Otp from \"./Otp\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n MenuItem,\n Snackbar,\n TextField,\n} from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { appservice } from \"../../services/app.service\";\nimport NumberFormat from \"react-number-format\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport PrivacyPolicy from \"./PrivacyPolicy\";\nimport TermAndCon from \"./TermAndCon\";\nimport FingerprintIcon from \"@mui/icons-material/Fingerprint\";\nimport moment from \"moment\";\n\nfunction Register() {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"login\", \"profile\"]);\n const history = useHistory();\n\n const [loginMobile, setLoginMobile] = useState(\"\");\n const [loginMobileError, setLoginMobileError] = useState(false);\n const [loginMobileErrorText, setLoginMobileErrorText] = useState(\"\");\n\n const [docId, setDocId] = useState(\"\");\n const [docIdError, setDocIdError] = useState(false);\n const [docIdErrorText, setDocIdErrorText] = useState(\"\");\n const [docTypeList, setDocTypeList] = useState([]);\n\n const [docType, setDocType] = useState(0);\n const [docTypeError, setDocTypeError] = useState(false);\n\n const [tnc, setTnc] = useState(false);\n const [isRegisteredUser, setIsRegisteredUser] = useState(true);\n const [disableInput, setDisableInput] = useState(false);\n\n const [callingCode, setCallingCode] = useState(\"\");\n\n const [userRegisterModel, setRegisterUserModal] = useState(false);\n const [userRegisterModelMessage, setRegisterUserMessage] = useState(\"\");\n const [tncModel, setTncModel] = useState(false);\n const [privacyModel, setPrivacyModel] = useState(false);\n const [confirmationModel, setConfirmationModel] = useState(false);\n\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [selectedDOBError, setSelectedDOBError] = useState(false);\n const [selectedDOBErrorText, setSelectedDOBErrorText] = useState(\"\");\n const [referanceId, setReferanceId] = useState(\"\");\n\n const brandName = localStorage.getItem(\"brandName\");\n const uaePassLogin: any = process.env.REACT_APP_UAEPASS_LOGIN;\n // const redirectUri: any = \"http://localhost:3000/home/login\";\n // const uaePassLogin: any = `https://stg-id.uaepass.ae/idshub/authorize?response_type=code&client_id=burjeel_web_portal_stage&scope=urn:uae:digitalid:profile:general&state=HnlHOJTkTb66Y5H&redirect_uri=${redirectUri}&acr_values=urn:safelayer:tws:policies:authentication:level:low`;\n\n const handleClose = () => setRegisterUserModal(false);\n //const handleShow = () => setRegisterUserModal(true);\n\n const toggleTnC = () => setTnc((value) => !value);\n\n const togglePassworBlock = () => {\n setCallingCode(authCtx.cCode);\n setLoginMobile(authCtx.userMobile);\n setIsRegisteredUser(true);\n\n toggleTnC();\n };\n\n useEffect(() => {\n if (authCtx.cCode === \"\" && authCtx.userMobile === \"\") {\n setCallingCode(\"971\");\n } else {\n setCallingCode(authCtx.cCode);\n setLoginMobile(authCtx.userMobile);\n }\n fetchDocTypeList();\n // eslint-disable-next-line\n }, []);\n const handleComfirmationClose = () => setConfirmationModel(false);\n\n const fetchDocTypeList = async () => {\n let res = await appservice.getDocumentType();\n setDocTypeList(res);\n };\n\n const handleDOBChange = (date: any | null) => {\n if (date !== null && date.toString() !== \"Invalid Date\") {\n const offset = date.getTimezoneOffset();\n date = new Date(date.getTime() - offset * 60 * 1000);\n setSelectedDOB(date);\n }\n let isValid = moment(date, \"DD/MM/YYYY\", true).isValid();\n if (isValid) {\n let today = moment(new Date().getDate() + 1, \"DD/MM/YYYY\");\n let selectedDate = moment(date, \"DD/MM/YYYY\");\n if (moment(selectedDate).isAfter(today)) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobRangeError\"));\n } else {\n setSelectedDOBError(false);\n setSelectedDOBErrorText(\"\");\n }\n } else {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobFormatError\"));\n }\n };\n\n const handleMobileChange = (e: any) => {\n setLoginMobile(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"\");\n } else {\n if (e.target.value.length < 8) {\n setLoginMobileError(true);\n setLoginMobileErrorText(t(\"loginInvalidMobileError\"));\n } else {\n setLoginMobileError(false);\n setLoginMobileErrorText(\"\");\n }\n }\n };\n\n const handleDocIdChange = (e: any) => {\n let pattern = /^784[0-9]{12}$/;\n if (docType === 1) {\n let text = e.target.value;\n let emirateId = text.replace(/-/g, \"\").trim();\n setDocId(emirateId);\n if (pattern.test(emirateId)) {\n if (emirateId.length < 8) {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n } else {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n }\n } else {\n setDocId(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setDocIdError(true);\n setDocIdErrorText(\"\");\n } else if (e.target.value.length < 6) {\n setDocIdError(true);\n setDocIdErrorText(t(\"profile:docIdInvalidError\"));\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n }\n };\n\n const validationForm = () => {\n let isValid: boolean = true;\n\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n isValid = false;\n }\n\n if (docId.trim() === \"\" || docIdError) {\n setDocIdError(true);\n isValid = false;\n }\n\n if (docType === 0) {\n setDocTypeError(true);\n isValid = false;\n }\n\n if (loginMobile.trim() === \"\" || loginMobile.length < 8) {\n setLoginMobileError(true);\n setLoginMobileErrorText(t(\"Please enter valid Mobile Number\"));\n isValid = false;\n }\n return isValid;\n };\n\n function checkEmirateId() {\n let isValid: boolean = true;\n if (docType.toString() === \"1\") {\n const emirateId = docId;\n const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n const compereCodeWith =\n \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n if (emirateId !== compereCodeWith) {\n isValid = false;\n }\n }\n return isValid;\n }\n\n let checkUser = async () => {\n authCtx.setDocumetsDetails(docType, docId);\n setDisableInput(true);\n setConfirmationModel(false);\n\n const data = {\n callingCode: callingCode,\n loginMobile: loginMobile,\n isInvokedForLogin: false,\n dateOfBirth: selectedDOB,\n documentTypeId: docType,\n documentId: docId,\n referenceId: referanceId,\n };\n\n authCtx.toggleLoader(true);\n\n if (validationForm()) {\n if (checkEmirateId()) {\n let res = await loginservice.checkUser(data);\n authCtx.setMobile(callingCode, loginMobile);\n if (res.isExistingUser === true) {\n setIsRegisteredUser(true);\n setRegisterUserModal(true);\n setRegisterUserMessage(\n \"This mobile number is already registered with us. Please try logging in using this number\"\n );\n authCtx.toggleLoader(false);\n setTimeout(() => {\n history.push(\"/home/login\");\n }, 2000);\n } else if (res.otpSent) {\n setReferanceId(res.referenceId);\n setIsRegisteredUser(false);\n authCtx.toggleLoader(false);\n }\n } else {\n authCtx.toggleLoader(false);\n setRegisterUserModal(true);\n setRegisterUserMessage(t(\"Invalid Emirates Id or date of birth\"));\n }\n } else {\n setRegisterUserModal(true);\n setRegisterUserMessage(t(\"All fields are required\"));\n }\n authCtx.toggleLoader(false);\n };\n\n const Login = (e: any) => {\n e.preventDefault();\n history.push(\"/home/login\");\n };\n\n const handleTncClose = () => setTncModel(false);\n const handlePrivacyClose = () => setPrivacyModel(false);\n\n const navigateToUAEPass = (e: any) => {\n // localStorage.setItem(\"uaeUser\", \"1\");\n e.preventDefault();\n window.location.replace(uaePassLogin);\n };\n\n return (\n
\n {isRegisteredUser && (\n
\n

{t(\"registerTitle\")}

\n {/* {t(\"loginSubTitle\")} */}\n
\n \n {cList && callingCode && (\n x.phoneCode === callingCode)}\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleMobileChange(e);\n }}\n error={loginMobileError}\n helperText={loginMobileErrorText}\n />\n
\n
\n
\n {\n setDocType(e.target.value);\n setDocId(\"\");\n }}\n >\n {docTypeList &&\n docTypeList.map((item: any) => (\n {item.text}\n ))}\n \n
\n
\n {docType === 1 ? (\n {\n handleDocIdChange(e);\n }}\n />\n ) : (\n {\n handleDocIdChange(e);\n }}\n />\n )}\n
\n
\n \n
\n
\n \n \n
\n setConfirmationModel(true)}\n >\n {\" \"}\n {t(\"Continue\")}\n \n\n {/* \n or\n
\n\n */}\n\n
\n
{t(\"Already have an account ?\")}
\n Login(e)}>\n {t(\"loginButtonTitle\")}{\" \"}\n \n
\n \n )}\n\n {!isRegisteredUser && (\n
\n togglePassworBlock()}\n selectedDOB={selectedDOB}\n docType={docType}\n docId={docId}\n referanceId={referanceId}\n />\n
\n )}\n\n \n \n Terms And Condition\n \n \n \n \n \n \n \n \n \n \n\n \n \n Privacy Policy\n \n \n \n \n \n \n \n \n \n \n\n \n {t(\"Confirmation\")}\n \n {\" \"}\n

\n {t(\n \"Please check your document type and document id, you will not be able to update it later.\"\n )}\n

\n
\n \n {\" \"}\n \n \n \n \n\n \n \n {userRegisterModelMessage}\n \n \n \n );\n}\n\nexport default Register;\n","import { useState, useEffect, useContext } from \"react\";\nimport { useHistory, Link, useLocation } from \"react-router-dom\";\nimport TextField from \"@material-ui/core/TextField\";\nimport { loginservice } from \"../../services/login.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport { IconButton, InputAdornment, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { Visibility, VisibilityOff } from \"@material-ui/icons\";\n\nfunction OtpForLogin() {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"login\"]);\n const history = useHistory();\n\n const [otp, setOtp] = useState(\"\");\n const [otpError, setOtpError] = useState(false);\n const [otpErrortext, setOtpErrorText] = useState(\"\");\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n const [second, setSecond] = useState(\"00\");\n const [minute, setMinute] = useState(\"00\");\n const [isActive, setIsActive] = useState(true);\n const [counter, setCounter] = useState(60);\n\n const [callingCode, setCallingCode] = useState(\"\");\n const [loginMobile, setLoginMobile] = useState(\"\");\n\n const [loginPass, setLoginPass] = useState(\"\");\n const [loginOtpValidity, setLoginOtpValidity] = useState(0);\n const [loginPassError, setLoginPassError] = useState(false);\n const [loginPassErrorText, setLoginPassErrorText] = useState(\"\");\n\n const [loginWithPassword, setLoginWithPassword] = useState(true);\n \n const [channel, setChannel] = useState(false);\n const [redirectUriValue, setRedirectUriValue] = useState();\n const brandName = localStorage.getItem(\"brandName\");\n\n const [showPassword, setShowPassword] = useState(false);\n const handleClickShowNewPassword = () => setShowPassword(!showPassword);\n const handleMouseDownNewPassword = () => setShowPassword(!showPassword);\n\n const location: any = useLocation();\n\n useEffect(() => {\n setCallingCode(location.state.callingCode);\n setLoginMobile(location.state.loginMobile);\n setLoginPass(location.state.password);\n setLoginOtpValidity(location.state.otpValidity);\n if (brandName === \"colab\") {\n setChannel(Boolean(localStorage.getItem(\"channel\")));\n setRedirectUriValue(localStorage.getItem(\"colabRedirectUrl\"));\n }\n }, []);\n\n useEffect(() => {\n let intervalId: any;\n if (isActive) {\n intervalId = setInterval(() => {\n if (counter > 0) {\n const secondCounter = counter % 60;\n const minuteCounter = Math.floor(counter / 60);\n const computedSecond =\n String(secondCounter).length === 1\n ? `0${secondCounter}`\n : secondCounter;\n const computedMinute =\n String(minuteCounter).length === 1\n ? `0${minuteCounter}`\n : minuteCounter;\n setSecond(computedSecond.toString());\n setMinute(computedMinute.toString());\n setCounter((counter) => counter - 1);\n } else {\n setIsActive(false);\n setCounter(60);\n setSecond(\"00\");\n setMinute(\"00\");\n }\n }, 1000);\n }\n\n return () => clearInterval(intervalId);\n }, [isActive, counter]);\n\n let checkUserForLogin = async () => {\n authCtx.toggleLoader(true);\n let res = await loginservice.checkUserForLogin(\n callingCode,\n loginMobile,\n true,\n loginPass\n );\n authCtx.toggleLoader(false);\n if (res.otpSent) {\n setIsActive(true);\n setModalText(\"OTP sent to your mobile number\");\n setModalType(\"success\");\n setShowModal(true);\n } else {\n setModalText(\"Error in sending otp\");\n setModalType(\"error\");\n setShowModal(true);\n }\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"otpError\"));\n }\n } else {\n const re = /^[0-9\\b]+$/;\n if (!re.test(e.target.value)) {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"numberError\"));\n }\n } else {\n errorSetterName(false);\n setOtpErrorText(\"\");\n }\n }\n }\n };\n\n const handleClose = () => setShowModal(false);\n\n function validateLogin() {\n let isValid: boolean = true;\n // if (loginWithPassword === true) {\n // if (loginPass.trim() === \"\" || loginPassError) {\n // setLoginPassError(true);\n // isValid = false;\n // }\n // } else {\n if (otp.trim() === \"\" || otpError) {\n setOtpError(true);\n isValid = false;\n } else if (otp.length < 6) {\n setOtpError(true);\n setOtpErrorText(t(\"otpInvalidError\"));\n isValid = false;\n }\n // }\n\n return isValid;\n }\n\n let handleSubmit = async () => {\n authCtx.toggleLoader(true);\n const referenceIdForLinking = \"\";\n if (validateLogin()) {\n let res = await loginservice.loginUser(\n callingCode,\n loginMobile,\n loginPass,\n otp,\n referenceIdForLinking\n );\n authCtx.toggleLoader(false);\n if (\n res &&\n res.data &&\n res.message.status &&\n res.message.status === \"Success\"\n ) {\n //Commented as not requires for ALDhannah -- Varun Rayzada\n // if (brandName === \"colab\") {\n // const redirectColabUrl = process.env.REACT_APP_COLAB_REDIRECT_URL;\n // if (redirectColabUrl) {\n // authCtx.toggleLoader(true);\n // localStorage.setItem(\"channel\", \"\");\n // localStorage.setItem(\"colabRedirectUrl\", \"\");\n // window.location.href = `${redirectColabUrl}?token=${res.data.token}&refreshToken=${res.data.refreshToken}`;\n // authCtx.toggleLoader(false);\n // } else {\n // setModalText(\"Something went wrong, please try again!\");\n // setModalType(\"error\");\n // setShowModal(true);\n // }\n // } else {\n authCtx.setToken(res.data.token);\n let temp = {\n userId: res.data.userId,\n firstName: res.data.firstName,\n lastName: res.data.lastName,\n gender: res.data.gender,\n email: res.data.email,\n mobile: loginMobile,\n callingCode: callingCode,\n profileImgUrl: res.data.profileImgUrl,\n profileImgFileName: res.data.profileImgFileName,\n refreshToken: res.data.refreshToken,\n roleId: res.data.roleId,\n roleName: res.data.roleName,\n refreshExpiresAt: res.data.refreshExpiresAt,\n tokenExpiresAt: res.data.tokenExpiresAt,\n isDOBAvailable: res.data.isDOBAvailable,\n facilityId: res.data.facilityId,\n };\n // localStorage.setItem(\"refreshToken\", res.data.refreshToken);\n // localStorage.setItem(\"tokenExpiresAt\", res.data.tokenExpiresAt);\n // localStorage.setItem(\"refreshExpiresAt\", res.data.refreshExpiresAt);\n authCtx.setUserInfo(temp);\n history.push(\"/auth/dashboard\");\n // }\n }\n if (res.message.status === \"AccountLocked\") {\n setModalText(res.message.message);\n setModalType(\"error\");\n setShowModal(true);\n setTimeout(() => {\n setModalText(\"\");\n history.push(\"/home/login\");\n }, 3000);\n }\n if (res.message.status === \"Invalid\") {\n setModalText(\"Invalid OTP\");\n setModalType(\"error\");\n setShowModal(true);\n }\n }\n authCtx.toggleLoader(false);\n };\n\n const back = (e: any) => {\n e.preventDefault();\n history.push(\"/home/login\");\n };\n\n return (\n <>\n
\n <>\n back(e)}\n className=\"mt-5 d-block text-decoration-none backLogin\"\n >\n {\" \"}\n Back\n \n

{t(\"loginWithOTP\")}

\n \n \n {\" \"}\n +{callingCode}-{loginMobile}\n \n \n
\n {/* */}\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n if (event.key === \"Enter\") {\n handleSubmit();\n }\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setOtp, setOtpError);\n }}\n />\n { loginOtpValidity != null && loginOtpValidity != 0 ? (<>

{t(\"otpValidity\")}{\" \"}{loginOtpValidity}{\" mins.\"}

) : <>}\n
\n

\n {t(\"resendOtp\")}{\" \"}\n \n {minute}\n :\n {second}\n \n

\n
\n {\n e.preventDefault();\n checkUserForLogin();\n }}\n >\n {\" \"}\n {t(\"resendOtpLink\")}\n \n
\n \n\n handleSubmit()}\n >\n {\" \"}\n {t(\"continue\")}\n \n
\n\n {modalType === \"error\" ? (\n \n \n {modalText}\n \n \n ) : (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default OtpForLogin;\n","import { useState, useEffect } from \"react\";\nimport { Switch, Route, useLocation } from \"react-router-dom\";\nimport Login from \"./login/Login\";\nimport Signup from \"./SignUp\";\nimport ForgetPass from \"./ForgetPass\";\nimport LoginBanner from \"./login/LoginBanner\";\nimport Register from \"./login/Register\";\nimport ValetLogin from \"./valetParking/ValetLogin\";\nimport RegisterUAEPass from \"./login/RegisterUAEPass\";\nimport OtpForLogin from \"./login/OtpForLogin\";\nimport Language from \"./common/Language\";\n\nfunction Home(props: any) {\n const location = useLocation();\n const [showLogo, setShowLogo] = useState(true);\n\n useEffect(() => {\n if (\n location.pathname &&\n location.pathname.toLowerCase().indexOf(\"sign-up\") > -1\n ) {\n setShowLogo(false);\n } else {\n setShowLogo(true);\n }\n }, [location]);\n\n return (\n <>\n
\n
\n \n
\n {/*
*/}\n
\n \n\n \n \n \n \n \n \n \n \n \n \n {/* \n \n */}\n \n \n \n \n \n \n \n {/* Need to apply mt-5 when mobile app goes live -- Varun Rayzada */}\n
\n {\" \"}\n © All Rights Reserved | AL Dhannah {/*props.brand*/}\n {/*
*/}\n
\n
\n
\n
\n
\n \n );\n}\n\nexport default Home;\n","import React from 'react';\nclass ErrorBoundary extends React.Component {\n state: any;\n constructor(props: any) {\n super(props);\n this.state = { error: null, errorInfo: null };\n }\n\n componentDidCatch(error: any, errorInfo: any) {\n // Catch errors in any components below and re-render with error message\n this.setState({\n error: error,\n errorInfo: errorInfo\n })\n }\n\n render() {\n if (this.state.errorInfo) {\n // Error path\n return (\n
\n
Something went wrong, please try again.
\n
\n {this.state.error && this.state.error.toString()}\n

\n {this.state.errorInfo.componentStack}\n

\n
\n
\n );\n }\n // Normally, just render children\n return this.props.children;\n }\n}\n\nexport default ErrorBoundary;","import React from 'react';\nimport { Route, Redirect } from 'react-router-dom';\n\nconst ProtectedRoute = ({ component: Component, ...rest }: any) => {\n let token = localStorage.getItem(\"token\");\n return (\n (\n token && token.length > 0 ?\n \n : \n )} />\n )\n}\n\nexport default ProtectedRoute\n","import { Snackbar, TextField } from \"@material-ui/core\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport countryList from \"../constants/countryList.json\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport AuthContext from \"../store/auth-context\";\nimport { dashboardservice } from \"../services/dashboard.service\";\nimport { Alert } from \"@material-ui/lab\";\n\nfunction ContactUs(props:any) {\n const { t } = useTranslation([\"familyMember\", \"profile\", \"login\"]);\n const authCtx = useContext(AuthContext);\n\n const [fName, setfName] = useState(\"\");\n const [fNameError, setFnameError] = useState(false);\n \n const [lName, setlName] = useState(\"\");\n const [lNameError, setLnameError] = useState(false);\n \n const [askText, setAskText] = useState(\"\");\n const [askTextError, setAskTextError] = useState(false);\n \n const [callingCode, setCallingCode] = useState(\"\");\n const [mobile, setLoginMobile] = useState(\"\");\n const [mobileError, setLoginMobileError] = useState(false);\n const [mobileErrorText, setLoginMobileErrorText] = useState(\"\");\n \n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(false);\n const [emailErrorText, setEmailErrorText] = useState(\"\");\n\n const [contactUsModal, setContactUsModal] = useState(false);\n const [validationModal, setValidationModal] = useState(false);\n const [validationText, setValidationText] = useState(\"\");\n \n\n \n const user = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n useEffect(()=>{\n setfName(user.firstName);\n setlName(user.lastName);\n setLoginMobile(user.mobile);\n setCallingCode(user.callingCode);\n setEmail(user.email);\n // eslint-disable-next-line\n },[])\n \n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if(e.target.value === \"\"){\n errorSetterName(true);\n }else{\n errorSetterName(false);\n }\n };\n \n const handleMobileChange = (e: any) => {\n setLoginMobile(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"\");\n } else {\n if (e.target.value.length !== 10 && e.target.value.length < 8) {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"Enter a valid mobile no.\");\n } else {\n setLoginMobileError(false);\n setLoginMobileErrorText(\"\");\n }\n }\n };\n \n const handleEmailChange = (e: any) => {\n setEmail(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setEmailError(true);\n setEmailErrorText(\"\");\n } else if (\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(e.target.value)\n ) {\n setEmailError(true);\n setEmailErrorText(\"Please a enter valid email\");\n } else {\n setEmailError(false);\n setEmailErrorText(\"\");\n }\n };\n\n \n const validateForm = () => {\n let isValid: boolean = true;\n if (fName.trim() === \"\") {\n setFnameError(true);\n isValid = false;\n }\n\n if (lName.trim() === \"\") {\n setLnameError(true);\n isValid = false;\n }\n if (mobile.trim() === \"\") {\n setLoginMobileError(true);\n isValid = false;\n }\n if (email.trim() === \"\") {\n setEmailError(true);\n isValid = false;\n }\n if (askText.trim() === \"\") {\n setAskTextError(true);\n isValid = false;\n }\n\n return isValid;\n };\n \n const handleSubmit = async () => {\n authCtx.toggleLoader(true);\n if (validateForm()) {\n // props.close();\n let data = {\n firstName: fName,\n lastName: lName,\n callingCode: callingCode,\n mobile: mobile,\n email: email, \n message: askText,\n };\n\n let res = await dashboardservice.contactUs(data);\n\n if (res === true) {\n setContactUsModal(true);\n setValidationModal(true);\n setValidationText(\"We have received your query. We will get back to you soon.\");\n authCtx.toggleLoader(false);\n setTimeout(()=>{\n props.handleContactUsClose();\n }, 2000);\n } else {\n setValidationModal(true);\n setValidationText(\"Something went wrong\");\n authCtx.toggleLoader(false);\n setTimeout(()=>{\n props.handleContactUsClose();\n }, 2000);\n }\n }else{\n setValidationModal(true);\n setValidationText(\"Please fill all data\");\n authCtx.toggleLoader(false);\n }\n };\n\n\n return (\n <>\n
\n {/* sign-up-form */}\n
\n {\n handleInputChange(e, setfName, setFnameError);\n }}\n />\n
\n
\n {\n handleInputChange(e, setlName, setLnameError);\n }}\n />\n
\n
\n
\n
\n {countryList && callingCode && (\n x.phoneCode === callingCode)\n }\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleMobileChange(e);\n }}\n />\n
\n
\n
\n {/* sign-up-form */}\n
\n {\n handleEmailChange(e);\n }}\n />\n
\n
\n
\n {/* sign-up-form */}\n
\n {\n handleInputChange(e, setAskText, setAskTextError);\n }}\n />\n
\n
\n
\n {\n handleSubmit();\n }}\n >\n Submit\n \n
\n\n {contactUsModal === true && (\n setValidationModal(false)}\n >\n setValidationModal(false)} severity=\"success\">\n {validationText}\n \n \n )}\n {!contactUsModal && (\n setValidationModal(false)}\n >\n setValidationModal(false)} severity=\"error\">\n {validationText}\n \n \n )}\n \n )\n}\n\nexport default ContactUs","import { useState, useContext, useEffect } from \"react\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport AuthContext from \"../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport { dashboardservice } from \"../services/dashboard.service\";\nimport {\n Dialog,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n} from \"@material-ui/core\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport ContactUs from \"./ContactUs\";\nimport TermAndCon from \"./login/TermAndCon\";\nimport PrivacyPolicy from \"./login/PrivacyPolicy\";\n\nconst SideNav = () => {\n const userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n const [isAdmin, setAdmin] = useState(false);\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n const location = useLocation();\n const [showMenu, setShowMenu] = useState(true);\n const { t } = useTranslation([\"sidenav\"]);\n const [contactUsModel, setContactUsModel] = useState(false);\n const [brand, setBrand] = useState(\"\");\n const [logo, setLogo] = useState(\"\");\n const brandName = localStorage.getItem(\"brandName\");\n const [tncModel, setTncModel] = useState(false);\n const [privacyModel, setPrivacyModel] = useState(false);\n\n const uaePassLogout: any = process.env.REACT_APP_UAEPASS_LOGOUT;\n // const uaePassLogout = \"https://stg-id.uaepass.ae/idshub/logout?redirect_uri=http://localhost:3000/home/login\";\n\n useEffect(() => {\n if (brandName === \"aldhannah\") {\n setLogo(\"/assets/images/aldhannah.png\");\n setBrand(\"AlDhannah\");\n }\n else {\n setLogo(\"/assets/images/aldhannah.png\");\n setBrand(\"AlDhannah\");\n }\n // else if (brandName === \"burjeel\") {\n // setLogo(\"/assets/images/burjeel.png\");\n // setBrand(\"Burjeel\");\n // } else if (brandName === \"medeor\") {\n // setLogo(\"/assets/images/medeor-logo.png\");\n // setBrand(\"Medeor\");\n // } else if (brandName === \"lifecare\") {\n // setLogo(\"/assets/images/lifecare.png\");\n // setBrand(\"Lifecare\");\n // } else if (brandName === \"llh\") {\n // setLogo(\"/assets/images/llh-logo.png\");\n // setBrand(\"LLH\");\n // } \n if (userData.roleId === 3 || userData.roleId === 2) {\n setAdmin(true);\n }\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n if (brandName === \"aldhannah\" && userData.facilityId === \"AD10\") {\n let theme: any = document.getElementById(\"theme\");\n theme.href = \"/css/theme-aldhannah.css\";\n document.title = \"AlDhannah | Patient Portal\";\n setLogo(\"/assets/images/aldhannah.png\");\n }\n // else if (brandName === \"burjeel\" && userData.facilityId === \"BM10\") {\n // let theme: any = document.getElementById(\"theme\");\n // theme.href = \"/css/theme-bmc.css\";\n // document.title = \"BMC | Patient Portal\";\n // setLogo(\"/assets/images/bmc-eng.png\");\n // } \n // else if (brandName === \"burjeel\" && userData.facilityId !== \"BM10\") {\n // let theme: any = document.getElementById(\"theme\");\n // theme.href = \"/css/theme-aldhannah.css\";\n // document.title = \"AlDhannah | Patient Portal\";\n // setLogo(\"/assets/images/aldhannah.png\");\n // }\n }, [authCtx.isDobAvailable]);\n\n useEffect(() => {\n return history.listen((location) => {\n document.getElementById(\"leftMenu\")?.classList.add(\"d-none\");\n });\n }, []);\n\n let logout = async (e: any) => {\n e.preventDefault();\n authCtx.toggleLoader(true);\n await dashboardservice.logout();\n authCtx.toggleLoader(false);\n authCtx.setMobile(\"\", \"\");\n authCtx.removeUserInfo();\n authCtx.removeApiToken();\n // if (localStorage.getItem(\"uaeUser\") === \"1\") {\n // localStorage.setItem(\"uaeUser\", \"0\");\n // clearTokens();\n // window.location.replace(uaePassLogout);\n // } else {\n clearTokens();\n history.push(\"/home/login\");\n // }\n if (brandName === \"aldhannah\" && userData.facilityId === \"BM10\") {\n let theme: any = document.getElementById(\"theme\");\n theme.href = \"/css/theme-aldhannah.css\";\n document.title = \"AlDhannah | Patient Portal\";\n }\n };\n\n const clearTokens = async () => {\n const removeItem: any = [\n \"token\",\n \"refreshToken\",\n \"tokenExpiresAt\",\n \"refreshExpiresAt\",\n \"user\",\n \"userMobile\",\n \"getPatientRecord\",\n \"isPatientRecordCall\",\n \"uaeUser\",\n \"appConfiguration\",\n ];\n\n for (const key of removeItem) {\n localStorage.removeItem(key);\n }\n };\n\n const toggleMenu = (e: any) => {\n e.preventDefault();\n let prevState = showMenu;\n if (prevState) {\n document.body.classList.add(\"collapse-menu\");\n } else {\n document.body.classList.remove(\"collapse-menu\");\n }\n setShowMenu(!showMenu);\n };\n\n const closeMobileMenu = (e: any) => {\n e.preventDefault();\n\n document.getElementById(\"leftMenu\")?.classList.add(\"d-none\");\n };\n\n const handleContactUsClose = () => setContactUsModel(false);\n const handleTncClose = () => setTncModel(false);\n const handlePrivacyClose = () => setPrivacyModel(false);\n\n return (\n <>\n \n closeMobileMenu(e)}\n className=\"bg-dark bg-opacity-75 position-fixed h-100 top-0 end-0 close-menu-bg d-sm-none\"\n >
\n\n \n menu \n \n \n\n closeMobileMenu(e)}\n >\n close\n \n\n
    \n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"auth/dashboard\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n dashboard \n \n {\" \"}\n {t(\"dashboard\")}{\" \"}\n \n \n \n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"auth/finddoctor\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n person_search \n \n {\" \"}\n {t(\"findDoc\")}{\" \"}\n \n \n \n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"auth/appointments\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n today \n \n {\" \"}\n {t(\"appointment\")}{\" \"}\n \n \n \n {/* {brandName === \"burjeel\" && (\n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname\n .toLowerCase()\n .indexOf(\"auth/teleconsultationappointments\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n devices \n \n {\" \"}\n {t(\"teleAppointment\")}{\" \"}\n \n \n \n )} */}\n\n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname\n .toLowerCase()\n .indexOf(\"/auth/diagnosticreports\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n summarize \n \n {\" \"}\n {t(\"labReports\")}{\" \"}\n \n \n \n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"/auth/mymedication\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n local_pharmacy \n \n {\" \"}\n {t(\"myMedication\")}{\" \"}\n \n \n \n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"auth/managefamily\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n people_alt \n \n {\" \"}\n {t(\"familyMembers\")}{\" \"}\n \n \n \n closeMobileMenu(e)}\n className=\"d-block m-0 position-relative\"\n >\n {\n e.preventDefault();\n setContactUsModel(true);\n }}\n className=\"d-flex align-items-center text-decoration-none\"\n >\n contact_phone \n \n {\" \"}\n {t(\"contactUs\")}{\" \"}\n \n \n \n\n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"/auth/feedback\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n rate_review \n \n {\" \"}\n Feedback / Complaint / Suggestion{\" \"}\n \n \n \n\n {userData.roleId === 3 && (\n <>\n {/* closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname.toLowerCase().indexOf(\"/auth/user\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n people \n \n {\" \"}\n User Management{\" \"}\n \n \n */}\n\n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname\n .toLowerCase()\n .indexOf(\"/auth/notification/broadcastnotification\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n campaign \n \n {\" \"}\n Broadcast Notification{\" \"}\n \n \n \n \n )}\n {userData.roleId === 2 && (\n <>\n closeMobileMenu(e)}\n className={`d-block m-0 position-relative ${\n location.pathname\n .toLowerCase()\n .indexOf(\"/auth/notification/BroadcastNotification\") > -1\n ? \"active\"\n : \"\"\n }`}\n >\n \n campaign \n \n {\" \"}\n Broadcast Notification{\" \"}\n \n \n \n \n )}\n\n closeMobileMenu(e)}\n className=\"d-block m-0 position-relative\"\n >\n \n power_settings_new \n \n {\" \"}\n {t(\"logout\")}{\" \"}\n \n \n \n
\n
\n {/* */}\n
\n {\n e.preventDefault();\n setTncModel(true);\n }}\n >\n Terms & Conditions\n \n {\n e.preventDefault();\n setPrivacyModel(true);\n }}\n >\n Privacy Policy\n \n
\n \n {\" \"}\n © All Rights Reserved | AL Dhannah\n \n \n V 1.0.0\n \n
\n \n\n \n \n Contact Us\n handleContactUsClose()}\n >\n \n \n \n \n \n \n \n\n \n \n Terms And Condition\n \n \n \n \n \n \n \n \n \n \n\n \n \n Privacy Policy\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default SideNav;\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const notificationService = {\n getPatientActiveNoti,\n getLabReports,\n markNotificationRead,\n markAllNotificationRead,\n BroadcastNotification,\n saveNotificationImg,\n getnotificationHistory,\n getAdminList,\n uploadUserExcelData,\n getActiveNotificationCount,\n};\n\nasync function getPatientActiveNoti() {\n const apiPath = API_ENDPOINTS.GET_PATIENT_ACTIVE_NOTI;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getActiveNotificationCount() {\n const apiPath = API_ENDPOINTS.GET_NOTIFICATION_COUNT;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function saveNotificationImg(data: any) {\n const apiPath = API_ENDPOINTS.SAVE_NOTIFICATION_IMG;\n const options = {\n path: apiPath,\n method: \"POST\",\n formdata: data,\n customHeaders: {\n \"Content-Type\": \"multipart/form-data\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getnotificationHistory(\n skip: number,\n take: number,\n filtertext: string,\n AdminFilterId: string = \"0\"\n) {\n //,startDate : string ,endDate : string\n const apiPath =\n API_ENDPOINTS.GET_BROADCASTHISTORY +\n \"?skip=\" +\n skip +\n \"&take=\" +\n take +\n \"&filtertext=\" +\n filtertext +\n \"&Id=\" +\n AdminFilterId; //+\"&StartDate=\"+startDate+\"&EndDate=\"+endDate\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getAdminList() {\n //,startDate : string ,endDate : string\n const apiPath = API_ENDPOINTS.GET_ADMINLIST;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getLabReports() {\n const apiPath = API_ENDPOINTS.GET_ACTIVE_LABREPORTS;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function markNotificationRead(patientId: any) {\n const apiPath = API_ENDPOINTS.MARK_NORIFICATION_READ + patientId;\n const options = {\n path: apiPath,\n method: \"PUT\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function markAllNotificationRead() {\n const apiPath = API_ENDPOINTS.MARK_ALL_NOTIFICATION_READ;\n const options = {\n path: apiPath,\n method: \"PUT\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function BroadcastNotification(data: any) {\n const apiPath = API_ENDPOINTS.SAVE_PROFILEBROADCASTNOTIFICATION;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n FacilityId: data.FacilityId,\n NotificationType: data.NotificationType,\n InURLPath: data.InURLPath,\n PhysicianNo: data.PhysicianNo,\n ImageUrl: data.ImageURL,\n NotificationText: data.NotificationText,\n NotificationTitle: data.NotificationTitle,\n FromDate: data.FromDate,\n ToDate: data.ToDate,\n brandname: data.BrandName,\n doctorname: data.DoctorName,\n Type: data.Type,\n MobileList: data.Mobilelist,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function uploadUserExcelData(data: any) {\n const apiPath = API_ENDPOINTS.UPLOAD_NOTIFY_USER_EXCEL;\n const options = {\n path: apiPath,\n method: \"POST\",\n formdata: data,\n customHeaders: {\n \"Content-Type\": \"multipart/form-data\",\n },\n };\n return await makeRequest(options);\n}\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport {\n HubConnectionBuilder,\n HubConnection,\n JsonHubProtocol,\n} from \"@microsoft/signalr\";\nimport { notificationService } from \"../../services/notification.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport { baseUrl } from \"../../constants/apiConfig\";\nimport { Menu, MenuItem, Typography } from \"@mui/material\";\nimport axios from \"axios\";\nimport moment from \"moment\";\n\nconst Notification = () => {\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n const [notificationCount, setNotificationCount] = useState(0);\n const [notificationList, setNotificationList] = useState([]);\n const [notificationReload, setNotificationReload] = useState(false);\n // const [connection, setConnection] = useState(null);\n const [anchorEl, setAnchorEl] = React.useState(null);\n const open = Boolean(anchorEl);\n const ITEM_HEIGHT = 48;\n\n const handleClick = (event: React.MouseEvent) => {\n fetchNotification();\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n // useEffect(() => {\n // const newConnection = new HubConnectionBuilder()\n // .withUrl(baseUrl + \"/notificationhub\", { withCredentials: false })\n // .withAutomaticReconnect()\n // .withHubProtocol(new JsonHubProtocol())\n // .build();\n\n // setConnection(newConnection);\n // }, []);\n\n // useEffect(() => {\n // if (connection) {\n // connection\n // .start()\n // .then((result) => {\n // //console.log('Connected!');\n // let userInfo = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n // if (userInfo.mobile) connection.invoke(\"addToGroup\", userInfo.mobile);\n\n // connection.on(\"notificationreceived\", (message) => {\n // fetchNotificationCount();\n // });\n // })\n // .catch((e) => console.log(\"Connection failed: \", e));\n // }\n // }, [connection]);\n\n useEffect(() => {\n const ac = new AbortController();\n const getNotification = async () => {\n await fetchNotificationCount();\n };\n getNotification();\n\n return () => {\n ac.abort();\n };\n }, [notificationReload]);\n\n // useEffect(() => {\n // const getNotification = async () => {\n // // await fetchNotification();\n // await fetchNotificationCount();\n // };\n // getNotification();\n // }, [notificationReload]);\n\n const fetchNotification = async () => {\n authCtx.toggleLoader(true);\n const res = await notificationService.getPatientActiveNoti();\n if (\n res &&\n res.data &&\n res.message &&\n res.message.status &&\n res.message.status[0] === \"Success\"\n ) {\n setNotificationList(res.data);\n } else {\n setNotificationList([]);\n setNotificationCount(0);\n }\n authCtx.toggleLoader(false);\n };\n\n const fetchNotificationCount = async () => {\n const res = await notificationService.getActiveNotificationCount();\n if (res) {\n setNotificationCount(res);\n } else {\n setNotificationCount(0);\n }\n };\n\n const handleNotification = (item: any) => {\n authCtx.toggleLoader(true);\n if (item.type === \"BROADCAST\" && item.promotionType === \"1\") {\n markNotificationRead(item.notificationId);\n console.log(\"Doctor Promotions\");\n } else if (\n item.type === \"BROADCAST\" &&\n item.promotionType === \"URLPROMOTION\"\n ) {\n if (item.link) {\n window.open(item.link);\n }\n if (!item.isRead) {\n markNotificationRead(item.notificationId);\n }\n } else if (\n item.type === \"LABREPORT\" &&\n item.promotionType === \"LABREPORT\"\n ) {\n if (!item.isRead) {\n markNotificationRead(item.notificationId);\n }\n if (item.isFamilyMember && item.familyMemberId !== 0) {\n history.push({\n pathname: \"/auth/diagnosticReports\",\n state: { from: \"notification\", familyMemberId: item.familyMemberId },\n });\n } else {\n history.push(\"/auth/diagnosticReports\");\n }\n }\n handleClose();\n authCtx.toggleLoader(false);\n };\n\n const markNotificationRead = async (notificationId: any) => {\n await notificationService.markNotificationRead(notificationId);\n setNotificationReload(!notificationReload);\n authCtx.toggleLoader(false);\n };\n\n const hadleMarkAllNotification = async () => {\n await notificationService.markAllNotificationRead();\n setNotificationReload(!notificationReload);\n };\n\n return (\n
\n \n {notificationCount > 0 && (\n \n {notificationCount}\n \n )}\n notifications \n \n \n {notificationList && notificationList.length > 0 ? (\n notificationList.map((item: any, index: any) => (\n handleNotification(item)}\n key={\"noti\" + index}\n >\n
\n {item.notificationTitle ? item.notificationTitle : \"\"}\n
\n \n {item.messageTextAr && item.messageTextAr.trim() !== \"\"\n ? item.messageTextAr\n : item.messageTextEn}\n \n

\n {new Date(item.createdOn).toLocaleString(\"en-uk\", {\n hour: \"2-digit\",\n minute: \"2-digit\",\n day: \"2-digit\",\n year: \"numeric\",\n month: \"short\",\n })}\n

\n \n ))\n ) : (\n No new notification\n )}\n\n {notificationCount > 0 && (\n
\n {\" \"}\n hadleMarkAllNotification()}\n >\n Mark all as read\n \n
\n )}\n \n
\n );\n};\n\nexport default Notification;\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const profileService = {\n getProfileDocument\n}\n\nasync function getProfileDocument(url:any,fileName:any) {\n const apiPath = API_ENDPOINTS.GET_PROFILE_DOCUMENT + url + \"&fileName=\" + fileName;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n 'Content-Type': 'application/json',\n },\n };\n return await makeRequest(options)\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { useHistory } from \"react-router-dom\";\nimport AuthContext from \"../../store/auth-context\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport { profileService } from \"../../services/profile.service\";\n\nconst UserMenu = () => {\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n const brandName = localStorage.getItem(\"brandName\");\n const userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n const [baseImage, setBase64Image] = useState(\"\");\n\n const [userInfo, setUserInfo] = useState({\n firstName: \" \",\n gender: \" \",\n lastName: \" \",\n profileImgUrl: \" \",\n });\n\n const uaePassLogout: any = process.env.REACT_APP_UAEPASS_LOGOUT;\n\n useEffect(() => {\n let user = JSON.parse(localStorage.getItem(\"user\") ?? \"\");\n setUserInfo(user);\n const getProfileImage = async () => {\n if (user.profileImgUrl !== \"\") {\n getImageBase64(user.profileImgUrl, user.profileImgFileName);\n }\n };\n getProfileImage();\n }, []);\n\n let logout = async (e: any) => {\n e.preventDefault();\n authCtx.toggleLoader(true);\n await dashboardservice.logout();\n authCtx.toggleLoader(false);\n authCtx.setMobile(\"\", \"\");\n authCtx.removeUserInfo();\n authCtx.removeApiToken();\n if (localStorage.getItem(\"uaeUser\") === \"1\") {\n localStorage.setItem(\"uaeUser\", \"0\");\n clearTokens();\n window.location.replace(uaePassLogout);\n } else {\n clearTokens();\n history.push(\"/home/login\");\n }\n if (brandName === \"aldhannah\" && userData.facilityId === \"BM10\") {\n let theme: any = document.getElementById(\"theme\");\n theme.href = \"/css/theme-aldhannah.css\";\n document.title = \"AlDhannah | Patient Portal\";\n }\n };\n\n const clearTokens = async () => {\n const removeItem: any = [\n \"token\",\n \"refreshToken\",\n \"tokenExpiresAt\",\n \"refreshExpiresAt\",\n \"user\",\n \"userMobile\",\n \"getPatientRecord\",\n \"isPatientRecordCall\",\n \"uaeUser\",\n \"appConfiguration\",\n ];\n\n for (const key of removeItem) {\n localStorage.removeItem(key);\n }\n };\n\n const getImageBase64 = async (imageUrl: any, fileName: any) => {\n // let res = await profileService.getProfileDocument(imageUrl, fileName);\n if (fileName) {\n let res = await profileService.getProfileDocument(null, fileName);\n setBase64Image(res);\n }\n };\n\n return (\n
\n
\n {/* */}\n
\n {userInfo.firstName.charAt(0) + userInfo.lastName.charAt(0)}\n
\n \n {\" \"}\n Hi {userInfo.firstName}\n \n
\n
    \n
  • \n \n person_outline \n My Profile\n \n
  • \n
  • \n \n support \n Need Help?\n \n
  • \n
  • \n \n rate_review \n Feedback / Complaint / Suggestion\n \n
  • \n
  • \n \n power_settings_new \n Logout\n \n
  • \n
\n
\n );\n};\n\nexport default UserMenu;\n","import React from 'react'\n\nconst BrandsCard = () => {\n return (\n
\n
\n
Brands
\n
\n
\n \"logo\"\n
\n {/*
\n \"logo\"\n
\n
\n \"logo\"\n
\n
\n \"logo\"\n
*/}\n {/*
\n \"logo\"\n
*/}\n {/*
\n \"logo\"\n
*/}\n
\n
\n
\n )\n}\n\nexport default BrandsCard\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const patientService = {\n getPatientRec,\n apptHistory,\n};\n\nasync function getPatientRec(\n patientId: any,\n familyMemberId: any,\n facilityId: any\n) {\n const apiPath =\n API_ENDPOINTS.GET_PATIENT_REC +\n patientId +\n \"&familyMemberId=\" +\n familyMemberId +\n \"&facilityId=\" +\n facilityId;\n const options = {\n path: apiPath,\n method: \"POST\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function apptHistory(data: any) {\n let brandName = localStorage.getItem(\"brandName\");\n const apiPath = API_ENDPOINTS.APPT_HISTORY + \"?brandName=\" + brandName;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n HIS: data.his,\n patientId: data.patientId,\n mobileNo: data.mobileNo,\n facilityId: data.facilityId,\n extensions: {\n additionalProp1: \"\",\n additionalProp2: \"\",\n additionalProp3: \"\",\n },\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import CircularProgress from \"@material-ui/core/CircularProgress\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport { bookAppointmentService } from \"../../services/bookAppointment.service\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Snackbar,\n} from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { patientService } from \"../../services/patient.service\";\n\nconst ConsultedDoctorsCard = (props: any) => {\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n const [isError, setIsError] = useState(false);\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [docLoder, setDocLoder] = useState(false);\n const user = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n const [insuranceErrorDialog, setInsuranceErrorDialog] =\n useState(false);\n const locationList: any = authCtx.locationGlobalList;\n\n useEffect(() => {}, [authCtx.isDobAvailable, authCtx.consultedDoctorList]);\n\n const reBookAppointment = async (item: any) => {\n history.push({ pathname: \"/auth/bookappointment/\", state: item });\n };\n\n const checkInsuranceValidation = async (doctorValue: any) => {\n if (doctorValue && doctorValue.department_code && doctorValue.locationId) {\n authCtx.toggleLoader(true);\n const facility_insurance_validation =\n doctorValue.facility_insurance_validation\n ? doctorValue.facility_insurance_validation.toLowerCase()\n : \"\";\n\n const specialty_insurance_validation =\n doctorValue.specialty_insurance_validation\n ? doctorValue.specialty_insurance_validation.toLowerCase()\n : \"\";\n\n const doctor_insurance_validation =\n doctorValue.doctor_insurance_validation\n ? doctorValue.doctor_insurance_validation.toLowerCase()\n : \"\";\n\n if (\n facility_insurance_validation === \"yes\" ||\n specialty_insurance_validation === \"yes\" ||\n doctor_insurance_validation === \"yes\"\n ) {\n await getPatientRecord(doctorValue);\n } else {\n reBookAppointment(doctorValue);\n }\n } else {\n setIsError(true);\n setErrorMessage(\n \"There is an issue with this record, please contact 8007267.\"\n );\n }\n };\n\n const getPatientRecord = async (doctorValue: any) => {\n const patientRecord = JSON.parse(\n localStorage.getItem(\"getPatientRecord\") || \"{}\"\n );\n const location = locationList.find((item: any) => {\n return doctorValue.locationId === item.locationId;\n });\n\n if (patientRecord[0].his === location.his_name) {\n const data = {\n his: patientRecord[0].his,\n patientId: patientRecord[0].patientId[0],\n institution: doctorValue.locationId,\n };\n getPatientDetails(data, doctorValue, location.id);\n } else {\n let familMembersId = 0;\n let res = await patientService.getPatientRec(\n user.userId,\n familMembersId,\n doctorValue.locationId\n );\n if (res && res.data && res.data !== undefined) {\n let patientIdData = res.data.find((item: any) => {\n return item.his === location.his_name;\n });\n const data = {\n his: patientIdData.his,\n patientId: patientIdData.patientId,\n institution: doctorValue.locationId,\n };\n getPatientDetails(data, doctorValue, location.id);\n } else {\n setIsError(true);\n setErrorMessage(\"Error in get patient records\");\n authCtx.toggleLoader(false);\n }\n }\n };\n\n const getPatientDetails = async (data: any, doctorValue: any, id: any) => {\n const res = await dashboardservice.getPatientDetails(data);\n if (res && res.data) {\n const patientDetails: any = res.data[0];\n if (\n patientDetails &&\n patientDetails.insuranceName &&\n patientDetails.planName\n ) {\n handleInsuranceValidation(patientDetails, doctorValue, id);\n } else {\n reBookAppointment(doctorValue);\n }\n } else {\n setIsError(true);\n setErrorMessage(\"Patient details not found\");\n authCtx.toggleLoader(false);\n }\n };\n\n const handleInsuranceValidation = async (\n patientDetails: any,\n doctorValue: any,\n id: any\n ) => {\n const res = await dashboardservice.getRestrictedInsurance(id);\n if (res && res.data && res.data.data && res.status === 200) {\n const restrictedInsuranceList = res.data.data;\n const patientInsuranceName = patientDetails.insuranceName\n ? patientDetails.insuranceName\n : \"\";\n const patientInsurancePlanName = patientDetails.planName\n ? patientDetails.planName\n : \"\";\n let insuranceMatching = restrictedInsuranceList.find((item: any) => {\n return (\n item.name.trim().toLowerCase() ===\n patientInsuranceName.trim().toLowerCase() &&\n item.insurance_plan.trim().toLowerCase() ===\n patientInsurancePlanName.trim().toLowerCase()\n );\n });\n if (insuranceMatching) {\n setInsuranceErrorDialog(true);\n authCtx.toggleLoader(false);\n } else {\n reBookAppointment(doctorValue);\n }\n } else {\n reBookAppointment(doctorValue);\n }\n };\n\n const handleInsuranceDialogClose = () => setInsuranceErrorDialog(false);\n\n return (\n <>\n \n
\n
\n Recently Consulted Doctors\n
\n
\n {authCtx.consultedDoctorList &&\n authCtx.consultedDoctorList.map((item: any, index: any) => (\n \n {\" \"}\n \n
\n {\" \"}\n
\n
\n \n {item.scheduleType === \"TELEMED\" ? (\n

\n General Practitioner\n

\n ) : (\n <>\n

\n {item.specialty}\n

\n

\n {item.location}\n

\n \n )}\n
\n {item.appointment_message === null ||\n item.appointment_message.trim() === \"\" ? (\n item.scheduleType === \"TELEMED\" ? (\n \n Re-book\n \n ) : (\n checkInsuranceValidation(item)}\n className=\"btn btn-primary btn-sm w-77 no-focus\"\n >\n Re-book\n \n )\n ) : (\n \n \n {item.appointment_message}\n \n )}\n
\n \n ))}\n
\n {authCtx.consultedDoctorList &&\n authCtx.consultedDoctorList.length === 0 && (\n
\n
\n {docLoder ? (\n \n {\" \"}\n \n \n ) : (\n <>\n info \n

No Recent Consultations

\n \n )}\n
\n
\n )}\n \n \n\n \n Error\n \n
\n Please contact Experience Center 8007267 for appointment booking.\n
\n
\n \n \n Close\n \n \n
\n\n setIsError(false)}\n >\n setIsError(false)} severity=\"error\">\n {errorMessage}\n \n \n \n );\n};\n\nexport default ConsultedDoctorsCard;\n","import React, { useEffect, useState } from \"react\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\nimport Carousel from \"react-bootstrap/Carousel\";\n\nconst DashboardBanner = () => {\n const [bannerImage, setBannerImage] = useState([]);\n\n useEffect(() => {\n getBannerImage();\n }, []);\n\n const getBannerImage = async () => {\n //let response = await dashboardservice.getBannerImg(\"Banner\");\n let response = await dashboardservice.getBannerImg(\"Banner\");\n if (response && response.data && response.data.data) {\n setBannerImage(response.data.data);\n }\n };\n\n return (\n
\n
\n {/*
\n
Covid - 19 Vaccination
\n

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos

\n \n
\n
\n \"\"\n
*/}\n\n \n {bannerImage && bannerImage.map((item: any, index: any) => (\n \n
\n {/* */}\n \n
\n
\n
\n ))}\n \n
\n
\n );\n};\n\nexport default DashboardBanner;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nconst FindDoctorCard = () => {\n return (\n
\n \n\n
\n \n
\n
\n
\n
Doctors
\n

View our experts

\n
\n \n
\n )\n}\n\nexport default FindDoctorCard\n","import { Link } from \"react-router-dom\";\nconst HealthToolsCard = () => {\n return (\n
\n \n
\n \n
\n
\n
\n
\n
Health Tap
\n

\n Keep a tap on your health\n

\n
\n \n
\n );\n};\n\nexport default HealthToolsCard;\n","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nfunction FeedbackCard() {\n return (\n
\n \n
\n
\n
\n
\n
\n
\n
Feedback / Complaints / Suggestions
\n

Feedback / Complaints / Suggestions

\n
\n \n
\n )\n}\n\nexport default FeedbackCard","import React from 'react'\nimport { useState, useContext, useEffect } from \"react\";\nimport { Link } from 'react-router-dom'\nimport {\n Dialog,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n } from \"@material-ui/core\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport ContactUs from \"../ContactUs\";\n\nfunction ContactUsCard() {\n const [contactUsModel, setContactUsModel] = useState(false);\n const handleContactUsClose = () => setContactUsModel(false);\n return (\n
\n {\n e.preventDefault();\n setContactUsModel(true);\n }}\n className=\"text-decoration-none\"\n >\n
\n
\n
\n
\n
\n
\n
Contact Us
\n

Contact Us

\n
\n \n\n \n \n Contact Us\n handleContactUsClose()}\n >\n \n \n \n \n \n \n \n
\n )\n}\n\nexport default ContactUsCard","import React, { useContext, useEffect, useState } from \"react\";\nimport { patientService } from \"../../services/patient.service\";\nimport AuthContext from \"../../store/auth-context\";\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\nimport Carousel from \"react-bootstrap/Carousel\";\nimport axios from \"axios\";\nimport { Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { useHistory } from \"react-router-dom\";\n\nconst UpcomingAppointmentsCard = () => {\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n //const [patientIdHISList, setPatientIdHISList] = useState([]);\n //const [patientIdList, setPatientIdList] = useState([]);\n\n const [upcomingAppt, setUpcomingAppts] = useState([]);\n const [slideIndex, setSlideIndex] = useState(0);\n const [slideTotalCount, setSlideTotalCount] = useState(0);\n //const [familyMemberId, setFamilyMemberId] = useState(0);\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n const userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n let upcomingAppointmentsArr: any = [];\n let consultedDoctorList: any = [];\n\n useEffect(() => {\n if (\n userData.isDOBAvailable &&\n userData.facilityId &&\n authCtx.locationGlobalList.length > 0\n )\n getPatientRec();\n\n return () => {\n setUpcomingAppts([]);\n };\n\n // eslint-disable-next-line\n }, [authCtx.isDobAvailable]);\n\n const handleModelClose = () => setShowModal(false);\n\n const getPatientRec = async () => {\n authCtx.toggleLoader(true);\n setUpcomingAppts([]);\n authCtx.setConsultedDoctorList([]);\n const currentHis: any = authCtx.locationGlobalList.find(\n (item: any) => item.locationId === userData.facilityId\n );\n const patientRecord = JSON.parse(\n localStorage.getItem(\"getPatientRecord\") || \"{}\"\n );\n const isPatientRecordCall = localStorage.getItem(\"isPatientRecordCall\");\n if (\n Object.keys(patientRecord).length !== 0 &&\n isPatientRecordCall === \"true\" &&\n patientRecord[0].his === currentHis.his_name\n ) {\n getApptHistory(patientRecord);\n } else {\n let userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n let res = await patientService.getPatientRec(\n userData.userId,\n 0,\n userData.facilityId\n );\n let idList = res && res.data ? res.data : [];\n let patientIdHISList: any = [];\n if (res && res.data === undefined) {\n console.log(\"Somthing went wrong in response\");\n } else if (res && res.status && res.status === 500) {\n console.log(\"Internal Server Error\");\n } else {\n //setPatientIdList(idList);\n idList.forEach((item: any) => {\n if (\n item &&\n (item.patientId !== null || (item.mobileNo && item.mobileNo !== \"\"))\n ) {\n if (patientIdHISList.length > 0) {\n if (patientIdHISList.some((obj: any) => obj.his === item.his)) {\n patientIdHISList.forEach((item2: any) => {\n if (\n item2.his === item.his &&\n item2.patientId !== item.patientId\n ) {\n item2.patientId = [...item2.patientId, item.patientId];\n }\n });\n } else {\n let data = {\n facilityId: [item.facilityId],\n his: item.his,\n patientId: [item.patientId],\n mobileNo: item.mobileNo,\n };\n patientIdHISList.push(data);\n }\n } else {\n let data = {\n facilityId: [item.facilityId],\n his: item.his,\n patientId: [item.patientId],\n mobileNo: item.mobileNo,\n };\n patientIdHISList.push(data);\n }\n }\n });\n }\n\n if (patientIdHISList.length > 0) {\n localStorage.setItem(\n \"getPatientRecord\",\n JSON.stringify(patientIdHISList)\n );\n localStorage.setItem(\"isPatientRecordCall\", \"true\");\n getApptHistory(patientIdHISList);\n }\n }\n authCtx.toggleLoader(false);\n };\n\n const getApptHistory = async (idList: any) => {\n authCtx.toggleLoader(true);\n let tempArr = [...idList];\n const response = await patientService.apptHistory(idList[0]);\n upcomingAppointmentsArr = upcomingAppointmentsArr.concat(\n response.upcomingAppts\n );\n consultedDoctorList = consultedDoctorList.concat(response.consultedDoctors);\n tempArr.shift();\n\n if (tempArr.length > 0) {\n getApptHistory(tempArr);\n } else {\n if (upcomingAppointmentsArr && upcomingAppointmentsArr.length !== 0) {\n const filterdAppointment = upcomingAppointmentsArr.filter(\n (item: any) => {\n return item.facilityId === userData.facilityId;\n }\n );\n setUpcomingAppts(filterdAppointment);\n\n setSlideTotalCount(filterdAppointment.length);\n } else {\n setUpcomingAppts([]);\n authCtx.setConsultedDoctorList([]);\n }\n\n if (consultedDoctorList && consultedDoctorList.length > 0) {\n const filterdConsultedDoc = consultedDoctorList.filter((item: any) => {\n return item.locationId === userData.facilityId;\n });\n authCtx.setConsultedDoctorList(filterdConsultedDoc);\n } else {\n authCtx.setConsultedDoctorList([]);\n }\n }\n\n authCtx.toggleLoader(false);\n };\n\n const handleSlideIndex = (slideIndex: any) => {\n setSlideIndex(slideIndex + 1);\n };\n\n const handleTeleConsultation = async (item: any) => {\n authCtx.toggleLoader(true);\n const currentDate: any = new Date();\n const appointmentDate: any = new Date(item.apptDate + \" \" + item.apptTime);\n const timeDiff = diff_minutes(appointmentDate, currentDate);\n const threshold = 5;\n if (\n currentDate.toISOString().slice(0, 10) ===\n appointmentDate.toISOString().slice(0, 10)\n ) {\n if (timeDiff <= threshold) {\n const baseUrlForTele = process.env.REACT_APP_TELECONSULT_BASEURL;\n const loginURL: any = baseUrlForTele + \"/web/api/default/sso-login\";\n const APPID: any = process.env.REACT_APP_TELECONSULT_APPID_BURJEEL;\n let patientData: any = {};\n const user: any = authCtx.userProfileDetails;\n patientData = {\n name: user.firstName + user.lastName,\n gender: user.genderId === 1 ? \"male\" : \"female\",\n phone: user.mobile,\n emirates: user.documentId,\n };\n\n try {\n const res = await axios.post(loginURL, patientData, {\n headers: {\n \"Content-Type\": \"application/json\",\n APPID: APPID,\n },\n });\n if (res.status === 200 && res.data.success === true) {\n const authorization: any = res.data.data.access_token;\n const user_id = res.data.data.PatientProfile.user_id;\n const patient_profile_id = res.data.data.PatientProfile.id;\n const myGlobals = {\n baseURL: baseUrlForTele,\n APPID: APPID,\n Authorization: \"Bearer\" + \" \" + authorization,\n user_id: user_id,\n patient_profile_id: patient_profile_id,\n accessToken: authorization,\n apptDate: item.apptDate,\n apptTime: item.apptTime,\n };\n\n history.push({\n pathname: \"/auth/Teleconsultation\",\n state: myGlobals,\n });\n } else {\n setModalType(\"error\");\n setModalText(\"Something went wrong\");\n setShowModal(true);\n }\n } catch (error: any) {\n setModalType(\"error\");\n setModalText(\"Something went wrong\");\n setShowModal(true);\n authCtx.toggleLoader(false);\n }\n } else {\n setModalText(\n \"You can start teleconsultation before 5 minute of your appointment time\"\n );\n setModalType(\"error\");\n setShowModal(true);\n }\n } else {\n setModalText(\n `Your teleconsultation appointment is scheduled on ${appointmentDate\n .toISOString()\n .slice(0, 10)}`\n );\n setModalType(\"error\");\n setShowModal(true);\n }\n\n authCtx.toggleLoader(false);\n };\n\n function diff_minutes(dt2: any, dt1: any) {\n var diff = (dt2.getTime() - dt1.getTime()) / 1000;\n diff /= 60;\n return Math.abs(Math.round(diff));\n }\n\n return (\n <>\n
\n
\n
Upcoming Appointments
\n handleSlideIndex(e)}\n >\n {upcomingAppt !== undefined &&\n upcomingAppt.length > 0 &&\n upcomingAppt.map((item: any, index: any) =>\n item ? (\n \n
\n
\n \n
\n\n
\n \n {item.scheduleType === \"TELEMED\" ? (\n handleTeleConsultation(item)}\n >\n Start Teleconsultation\n \n ) : (\n <>\n

\n {item && item.specialty ? item.specialty : null}\n

\n

\n {item && item.location ? item.location : null}\n

\n \n )}\n
\n
\n
\n {item && item.apptTime && item.apptDate ? (\n

\n {\" \"}\n {new Date(\n \"1970-01-01T\" + item.apptTime + \"Z\"\n ).toLocaleTimeString(\"en-US\", {\n timeZone: \"UTC\",\n hour12: true,\n hour: \"numeric\",\n minute: \"numeric\",\n })}{\" \"}\n |{\" \"}\n {item && item.apptDate\n ? new Date(item.apptDate).toDateString()\n : null}\n

\n ) : null}\n

\n {\" \"}\n {slideIndex}/{slideTotalCount}\n

\n
\n
\n ) : (\n \n
\n
\n {\" \"}\n info \n

No Upcoming Appointments

\n
\n
\n
\n )\n )}\n \n {upcomingAppt && upcomingAppt.length === 0 && (\n
\n
\n {\" \"}\n info \n

No Upcoming Appointments

\n
\n
\n )}\n
\n
\n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n};\n\nexport default UpcomingAppointmentsCard;\n","import { MenuItem, Snackbar, TextField } from \"@material-ui/core\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport countryList from \"../../constants/countryList.json\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport { Alert } from \"@material-ui/lab\";\nimport AuthContext from \"../../store/auth-context\";\n\nfunction AskDoctor(props:any) {\n const { t } = useTranslation([\"familyMember\", \"profile\", \"login\"]);\n const authCtx = useContext(AuthContext);\n\n const [fName, setfName] = useState(\"\");\n const [fNameError, setFnameError] = useState(false);\n\n const [lName, setlName] = useState(\"\");\n const [lNameError, setLnameError] = useState(false);\n\n const [askText, setAskText] = useState(\"\");\n const [askTextError, setAskTextError] = useState(false);\n\n const [callingCode, setCallingCode] = useState(\"\");\n const [mobile, setLoginMobile] = useState(\"\");\n const [mobileError, setLoginMobileError] = useState(false);\n const [mobileErrorText, setLoginMobileErrorText] = useState(\"\");\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(false);\n const [emailErrorText, setEmailErrorText] = useState(\"\");\n\n const [modeOfCommunication, setmodeOfCommunication] = useState(\"\");\n const [modeOfCommError,setModeOfCommError] = useState(false);\n const [isEmailCommunication, setIsEmailCommunication] =\n useState(false);\n const [isMobileCommunication, setIsMobileCommunication] =\n useState(false);\n\n const [askDocModal, setAskDocModal] = useState(false);\n const [validationModal, setValidationModal] = useState(false);\n const [validationText, setValidationText] = useState(\"\");\n\n const user = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n useEffect(() => {\n setfName(user.firstName);\n setlName(user.lastName);\n setLoginMobile(user.mobile);\n setCallingCode(user.callingCode);\n setEmail(user.email);\n // eslint-disable-next-line\n }, []);\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if (e.target.value === \"\") {\n errorSetterName(true);\n } else {\n errorSetterName(false);\n }\n };\n\n const handleMobileChange = (e: any) => {\n setLoginMobile(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"\");\n } else {\n if (e.target.value.length !== 10 && e.target.value.length < 8) {\n setLoginMobileError(true);\n setLoginMobileErrorText(\"Enter a valid mobile no.\");\n } else {\n setLoginMobileError(false);\n setLoginMobileErrorText(\"\");\n }\n }\n };\n\n const handleEmailChange = (e: any) => {\n setEmail(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setEmailError(true);\n setEmailErrorText(\"\");\n } else if (\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(e.target.value)\n ) {\n setEmailError(true);\n setEmailErrorText(\"Please enter a valid email\");\n } else {\n setEmailError(false);\n setEmailErrorText(\"\");\n }\n };\n\n const handleModeOfComm = (e: any) => {\n if (e.target.value === \"mobile\") {\n setmodeOfCommunication(e.target.value);\n setIsMobileCommunication(true);\n setIsEmailCommunication(false);\n setModeOfCommError(false);\n } else if (e.target.value === \"email\") {\n setmodeOfCommunication(e.target.value);\n setIsMobileCommunication(false);\n setIsEmailCommunication(true);\n setModeOfCommError(false);\n } else if(e.target.value === \"both\"){\n setmodeOfCommunication(e.target.value);\n setIsMobileCommunication(true);\n setIsEmailCommunication(true);\n setModeOfCommError(false);\n }\n };\n\n const validateForm = () => {\n let isValid: boolean = true;\n if (fName.trim() === \"\") {\n setFnameError(true);\n isValid = false;\n }\n\n if (lName.trim() === \"\") {\n setLnameError(true);\n isValid = false;\n }\n if (mobile.trim() === \"\") {\n setLoginMobileError(true);\n isValid = false;\n }\n if (modeOfCommunication.trim() === \"\"){\n setModeOfCommError(true);\n isValid = false;\n }\n if (email.trim() === \"\") {\n setEmailError(true);\n isValid = false;\n }\n if (askText.trim() === \"\") {\n setAskTextError(true);\n isValid = false;\n }\n\n return isValid;\n };\n\n const handleSubmit = async () => {\n authCtx.toggleLoader(true);\n if (validateForm()) {\n // props.close();\n let data = {\n firstName: fName,\n lastName: lName,\n callingCode: callingCode,\n mobile: mobile,\n email: email,\n isEmailCommunication: isEmailCommunication,\n isMobileCommunication:isMobileCommunication, \n comment: askText,\n };\n\n let res = await dashboardservice.askDoctor(data);\n\n if (res === true) {\n setAskDocModal(true);\n setValidationModal(true);\n setValidationText(\"We have received your query. We will get back to you soon.\");\n authCtx.toggleLoader(false);\n setTimeout(()=>{\n props.handleAskDoctorClose();\n }, 2000);\n } else {\n setValidationModal(true);\n setValidationText(\"Something went wrong\");\n authCtx.toggleLoader(false);\n setTimeout(()=>{\n props.handleAskDoctorClose();\n }, 2000);\n }\n }else{\n setValidationModal(true);\n setValidationText(\"Please fill all data\");\n authCtx.toggleLoader(false);\n }\n };\n\n const modeOfCommuList = [\n {\n text: \"Mobile\",\n value: \"mobile\",\n },\n {\n text: \"Email\",\n value: \"email\",\n },\n {\n text: \"Both\",\n value: \"both\",\n },\n ];\n\n return (\n <>\n
\n {/* sign-up-form */}\n
\n {\n handleInputChange(e, setfName, setFnameError);\n }}\n />\n
\n
\n {\n handleInputChange(e, setlName, setLnameError);\n }}\n />\n
\n
\n
\n
\n {countryList && callingCode && (\n x.phoneCode === callingCode)\n }\n onChange={(event, value) => {\n setCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleMobileChange(e);\n }}\n />\n
\n
\n
\n {/* sign-up-form */}\n
\n {\n handleEmailChange(e);\n }}\n />\n
\n
\n {\n handleModeOfComm(e);\n }}\n >\n {modeOfCommuList && modeOfCommuList.map((item: any,index) => (\n {item.text}\n ))}\n \n
\n
\n
\n {/* sign-up-form */}\n
\n {\n handleInputChange(e, setAskText, setAskTextError);\n }}\n />\n
\n
\n
\n {\n handleSubmit();\n }}\n >\n Submit\n \n
\n\n {askDocModal && (\n setValidationModal(false)}\n >\n setValidationModal(false)} severity=\"success\">\n {validationText}\n \n \n )}\n {!askDocModal && (\n setValidationModal(false)}\n >\n setValidationModal(false)} severity=\"error\">\n {validationText}\n \n \n )}\n \n );\n}\n\nexport default AskDoctor;\n","import { Dialog, DialogContent, DialogTitle, IconButton} from \"@material-ui/core\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport React, { useState } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport AskDoctor from \"../doctor/AskDoctor\";\n\nfunction AskDoctorCard() {\n const [askDoctorModel, setAskDoctorModel] = useState(false);\n\n \n\n const handleAskDoctorClose = () => setAskDoctorModel(false);\n\n return (\n <>\n
\n setAskDoctorModel(true)}\n className=\"text-decoration-none\"\n >\n
\n
\n
\n
\n
Ask Doctor
\n

Submit a query

\n
\n \n
\n\n \n Ask Doctor\n handleAskDoctorClose()}\n >\n \n \n \n \n \n \n \n \n );\n}\n\nexport default AskDoctorCard;\n","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nfunction InsuranceCard() {\n return (\n
\n \n
\n
\n
\n
\n
\n
\n
Insurance
\n

Insurance partners

\n
\n \n
\n )\n}\n\nexport default InsuranceCard","import { Link, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport React, { useEffect, useState } from \"react\";\nimport \"react-responsive-modal/styles.css\";\nimport { useHistory } from \"react-router-dom\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport Parser from \"html-react-parser\";\n\nfunction NewsAndMediaCard(props: any) {\n const [newsList, setNewsList] = useState([]);\n const [customNewsList, setCustomNewsList] = useState([]);\n const [modelType, setModelType] = useState(\"\");\n const [showModel, setShowModel] = useState(false);\n const [modelText, setModelText] = useState(\"\");\n\n const history = useHistory();\n useEffect(() => {\n const ac = new AbortController();\n const getAllNews = () => {\n fetchAllNewsList();\n };\n getAllNews();\n\n return () => ac.abort();\n }, []);\n\n const handleClose = () => setShowModel(false);\n\n const fetchAllNewsList = async () => {\n let res = await dashboardservice.getAllNews();\n if (res && res.data && res.data.status === \"success\") {\n setNewsList(res.data.data);\n res.data.data && res.data.data.length > 4\n ? setCustomNewsList(res.data.data.slice(0, 4))\n : setCustomNewsList(res.data.data);\n setModelType(\"success\");\n setShowModel(false);\n setModelText(res.data.message);\n } else {\n if (res && res.data) {\n setModelType(\"error\");\n setShowModel(true);\n setModelText(res.data.message);\n }\n }\n };\n\n const handleNewsChnage = (index: any) => {\n history.push({\n pathname: \"/auth/news\",\n state: { index: index, newslist: newsList },\n });\n };\n\n return (\n <>\n
\n
\n
News
\n
\n {customNewsList &&\n customNewsList.map((item: any, index: any) => (\n // handleNewsChnage(index)}\n // className=\"text-black cursor-pointer\"\n // key={index}\n // >\n //
\n //
\n //
\n //
\n // \n //
\n //
\n // \n //

\n // {item.publishDate}\n //

\n //
\n //
\n //
\n //
\n // \n
\n handleNewsChnage(index)}\n className=\"text-black cursor-pointer\"\n key={index}\n >\n
\n
\n
\n
\n \n
\n
\n \n

\n {item.publishDate}\n

\n
\n
\n
\n
\n \n
\n ))}\n {customNewsList &&\n newsList &&\n newsList.length > customNewsList.length && (\n history.push({ pathname: \"/auth/allNews\" })}\n >\n View more\n \n )}\n
\n
\n
\n\n {modelType === \"error\" && (\n \n \n {modelText}\n \n \n )}\n {modelType === \"success\" && (\n \n \n {modelText}\n \n \n )}\n \n );\n}\n\nexport default NewsAndMediaCard;\n","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nfunction AppointmentCard() {\n return (\n
\n \n \n
\n
\n
\n
\n
Appointments
\n

Manage appointments

\n
\n \n
\n )\n}\n\nexport default AppointmentCard","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nfunction LabReportCard() {\n return (\n
\n \n
\n \n
\n
\n
\n
\n
Diagnostic Reports
\n

\n View Diagnostic Reports{\" \"}\n

\n
\n \n
\n );\n}\n\nexport default LabReportCard","import { Link, Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport React, { useEffect, useState } from \"react\";\nimport ReactPlayer from \"react-player\";\nimport Modal from \"react-responsive-modal\";\nimport \"react-responsive-modal/styles.css\";\nimport { useHistory } from \"react-router-dom\";\nimport { dashboardservice } from \"../../services/dashboard.service\";\nimport Parser from \"html-react-parser\";\n\nfunction Media() {\n const [mediaList, setMediaList] = useState([]);\n const [modelType, setModelType] = useState(\"\");\n const [customMediaList, setCustomMediaList] = useState([]);\n const [showModel, setShowModel] = useState(false);\n const [modelText, setModelText] = useState(\"\");\n const [isOpenVideo, setIsOpenVideo] = useState(false);\n const [videoUrl, setVideoUrl] = useState(\"\");\n const history = useHistory();\n\n useEffect(() => {\n const ac = new AbortController();\n const getAllMedia = () => {\n fetchAllMediaList();\n };\n getAllMedia();\n\n return () => ac.abort();\n }, []);\n\n const fetchAllMediaList = async () => {\n let res = await dashboardservice.getAllMedia();\n if (res && res.data && res.data.status === \"success\") {\n setMediaList(res.data.data);\n res.data.data && res.data.data.length > 5\n ? setCustomMediaList(res.data.data.slice(0, 5))\n : setCustomMediaList(res.data.data);\n setModelType(\"success\");\n setShowModel(false);\n setModelText(res.data.message);\n } else {\n setMediaList(res.data.data);\n setModelType(\"error\");\n setShowModel(true);\n setModelText(res.data.message);\n }\n };\n\n const handleMediaOpen = (item: any) => {\n setVideoUrl(item.videolink);\n setIsOpenVideo(true);\n };\n\n const handleMediaClose = () => {\n setIsOpenVideo(false);\n };\n\n const handleClose = () => setShowModel(false);\n\n return (\n <>\n
\n
\n
Events
\n\n {customMediaList &&\n customMediaList.map((item: any, index: any) => (\n handleMediaOpen(item)}\n className=\"text-black cursor-pointer\"\n key={index}\n >\n {\" \"}\n
\n
\n
\n
\n \n
\n
\n \n

\n {item.publishDate}\n

\n
\n
\n
\n
\n \n ))}\n {customMediaList &&\n mediaList &&\n mediaList.length > customMediaList.length && (\n history.push({ pathname: \"/auth/allMedia\" })}\n >\n View more\n \n )}\n
\n
\n\n \n \n \n\n {modelType === \"error\" && (\n \n \n {modelText}\n \n \n )}\n {modelType === \"success\" && (\n \n \n {modelText}\n \n \n )}\n \n );\n}\n\nexport default Media;\n","import React from 'react'\nimport { Link } from 'react-router-dom'\n\nfunction MyMedicationCard() {\n return (\n
\n \n
\n \n
\n
\n
\n
\n
\n
My Medications
\n

View medicine

\n
\n \n
\n )\n}\n\nexport default MyMedicationCard","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const userService = {\n getUserList,\n addUser,\n resetPassword,\n getUserRoleList,\n saveUserDOB,\n saveUserFacilityId,\n};\n\nasync function getUserList(skip: number, take: number, filterKey: string = \"\") {\n const apiPath =\n API_ENDPOINTS.GET_USER_LIST +\n \"?skip=\" +\n skip +\n \"&take=\" +\n take +\n \"&filterKey=\" +\n filterKey;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n// async function deleteAgent(agentId: string) {\n// const apiPath = API_ENDPOINTS.DELETE_AGENT + agentId;\n// const options = {\n// path: apiPath,\n// method: \"DELETE\",\n// bodyObj: {},\n// customHeaders: {\n// \"Content-Type\": \"application/json\",\n// },\n// };\n// return await makeRequest(options);\n// }\n\nasync function addUser(data: any) {\n const apiPath = API_ENDPOINTS.ADD_ADMIN;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n id: data.id,\n firstName: data.firstName,\n lastName: data.lastName,\n mobile: data.mobile,\n email: data.email,\n // \"CallingCode\": data.CallingCode,\n // \"Mobile\": data.mobile\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function resetPassword(userId: any) {\n const apiPath = API_ENDPOINTS.RESET_PASSWORD + \"?userId=\" + userId;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function getUserRoleList() {\n const apiPath = API_ENDPOINTS.GET_USER_ROLE;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function saveUserDOB(dateOfBirth: any) {\n const apiPath = API_ENDPOINTS.SAVE_USER_DOB;\n const options = {\n path: apiPath,\n method: \"PUT\",\n bodyObj: {\n dateOfBirth: dateOfBirth,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function saveUserFacilityId(facilityId: any) {\n const apiPath = API_ENDPOINTS.SAVE_PREFERRED_FACILITY;\n const options = {\n path: apiPath,\n method: \"PUT\",\n bodyObj: {\n facilityId: facilityId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport AuthContext from \"../../store/auth-context\";\nimport {\n Snackbar,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControl,\n FormControlLabel,\n IconButton,\n Radio,\n RadioGroup,\n} from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { userService } from \"../../services/UserService\";\nimport CloseIcon from \"@material-ui/icons/Close\";\n\nfunction Location() {\n const authCtx = useContext(AuthContext);\n const brandName = localStorage.getItem(\"brandName\");\n const [hospitalName, setHospitalName] = useState(\"\");\n\n const [chooseLocatinDialog, setChooseLocationDialog] =\n useState(false);\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n const [facilityId, setFacilityId] = useState(\"\");\n const userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n useEffect(() => {\n if (userData.facilityId) {\n setFacilityId(userData.facilityId);\n const hospital: any = authCtx.locationGlobalList\n ? authCtx.locationGlobalList.filter((item: any) => {\n return item.locationId === userData.facilityId;\n })\n : \"\";\n const splitName = hospital.length > 0 ? hospital[0].name.split(\",\") : \"\";\n const hospitalName = splitName[splitName?.length - 1];\n setHospitalName(hospitalName);\n }\n }, [authCtx.locationGlobalList, authCtx.isDobAvailable]);\n\n const handleClick = () => {\n setChooseLocationDialog(true);\n };\n\n const handleClose = () => {\n setChooseLocationDialog(false);\n };\n\n const handleShow = () => {\n setShowModal(true);\n };\n\n const handleModalClose = () => {\n setShowModal(false);\n };\n\n const handleGlobalLocationChange = async () => {\n authCtx.toggleLoader(true);\n let res = await userService.saveUserFacilityId(facilityId);\n if (res.message.status === \"Success\") {\n const filterValue: any = authCtx.locationGlobalList.find(\n (item: any) => item.locationId === facilityId\n );\n const exsitingUserData = userData;\n exsitingUserData[\"facilityId\"] = facilityId;\n exsitingUserData[\"vblog\"] = filterValue.vblog;\n localStorage.setItem(\"user\", JSON.stringify(exsitingUserData));\n handleClose();\n authCtx.setIsDobAvalable(!authCtx.isDobAvailable);\n } else {\n setModalType(\"error\");\n setModalText(\"Error in update facility id\");\n handleShow();\n setTimeout(() => {\n setModalText(\"\");\n handleModalClose();\n }, 3000);\n }\n authCtx.toggleLoader(false);\n };\n\n return (\n <>\n {/*
\n \n
\n {\" \"}\n location_on \n Select Hospital\n
\n
\n {hospitalName}\n expand_more \n
\n
\n */}\n\n \n \n Choose Hospital\n \n \n \n \n \n
\n \n setFacilityId(e.target.value)}\n >\n {authCtx.locationGlobalList &&\n authCtx.locationGlobalList.map((item: any) => (\n }\n label={item.name}\n className=\"border-bottom\"\n key={\"LOC-\" + item.locationId}\n />\n ))}\n \n \n
\n
\n \n \n Submit\n \n \n \n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default Location;\n","import Notification from \"./common/Notification\";\nimport UserMenu from \"./common/UserMenu\";\nimport BrandsCard from \"./dashboard/BrandsCard\";\nimport ConsultedDoctorsCard from \"./dashboard/ConsultedDoctorsCard\";\nimport DashboardBanner from \"./dashboard/DashboardBanner\";\nimport FindDoctorCard from \"./dashboard/FindDoctorCard\";\nimport HealthToolsCard from \"./dashboard/HealthToolsCard\";\nimport FeedbackCard from \"./dashboard/FeedbackCard\";\nimport ContactUsCard from \"./dashboard/ContactUsCard\";\nimport UpcomingAppointmentsCard from \"./dashboard/UpcomingAppointmentsCard\";\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\"; // requires a loader\nimport AskDoctorCard from \"./dashboard/AskDoctorCard\";\n// import LocationCard from \"./dashboard/LocationCard\";\nimport InsuranceCard from \"./dashboard/InsuranceCard\";\n// import HealthPackagesCard from \"./dashboard/HealthPackagesCard\";\nimport NewsAndMediaCard from \"./news&media/NewsAndMediaCard\";\nimport AppointmentCard from \"./dashboard/AppointmentCard\";\nimport LabReportCard from \"./dashboard/LabReportCard\";\nimport Media from \"./news&media/Media\";\nimport MyMedicationCard from \"./dashboard/MyMedicationCard\";\n// import TelecosultationCard from \"./dashboard/TelecosultationCard\";\nimport Location from \"./common/Location\";\n\nfunction Dashboard() {\n const brandName = localStorage.getItem(\"brandName\");\n\n const openMobileMenu = (e: any) => {\n e.preventDefault();\n\n document.getElementById(\"leftMenu\")?.classList.remove(\"d-none\");\n };\n\n return (\n <>\n
\n
\n openMobileMenu(e)}\n >\n menu\n \n

Dashboard

\n
\n \n \n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n {/* {brandName === \"burjeel\" && (\n
\n \n
\n )} */}\n\n
\n \n
\n
\n \n
\n\n {/* {brandName !== \"lifecare\" ? (\n
\n \n
\n ) : null} */}\n {/*
\n \n
*/}\n\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n\n \n {!brandName || brandName === \"null\" || brandName === \"vps\" ? (\n \n ) : (\n \"\"\n )}\n \n
\n
\n
\n \n );\n}\n\nexport default Dashboard;\n","import { useState, useEffect, useContext } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { appservice } from \"../services/app.service\";\nimport { dashboardservice } from \"../services/dashboard.service\";\nimport AuthContext from \"../store/auth-context\";\n\nimport TextField from \"@material-ui/core/TextField\";\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport moment from \"moment\";\n\nimport { useTranslation } from \"react-i18next\";\nimport { Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\n\nimport NumberFormat from \"react-number-format\";\n\nconst PersonalDetails = (props: any) => {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"profile\"]);\n\n const [cList, setcList] = useState([]);\n const [genderList, setGenderList] = useState([]);\n const [docTypeList, setDocTypeList] = useState([]);\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n\n const [fName, setfName] = useState(\"\");\n\n const [fNameError, setFnameError] = useState(false);\n\n const [lName, setlName] = useState(\"\");\n const [lNameError, setLnameError] = useState(false);\n\n const [gender, setGender] = useState(\"\");\n const [genderError, setGenderError] = useState(false);\n\n const [mobile, setMobile] = useState(\"\");\n const [mobileCode, setMobileCode] = useState(\"\");\n\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [patientDOB, setPatientDOB] = useState();\n const [selectedDOBError, setSelectedDOBError] = useState(false);\n const [selectedDOBErrorText, setSelectedDOBErrorText] = useState(\"\");\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(false);\n const [emailErrorText, setEmailErrorText] = useState(\"\");\n\n const [docId, setDocId] = useState(\"\");\n const [docIdError, setDocIdError] = useState(false);\n const [docIdErrorText, setDocIdErrorText] = useState(\"\");\n\n const [docType, setDocType] = useState(0);\n const [docTypeError, setDocTypeError] = useState(false);\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(false);\n const [initials, setInitials] = useState(\"\");\n\n let userInfo = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n let uaeUserInfo = JSON.parse(\n localStorage.getItem(\"uaeUser\") || \"0\"\n ).toString();\n\n useEffect(() => {\n const getCountryCode = async () => {\n const listFromApi = await fetchCountryCode();\n setcList(listFromApi);\n };\n getCountryCode();\n setMobileData();\n\n const getDocumentTypeList = async () => {\n const listFromApi = await fetchDocTypeList();\n setDocTypeList(listFromApi);\n };\n getDocumentTypeList();\n\n const getGenderList = async () => {\n const listFromApi = await fetchGenderList();\n setGenderList(listFromApi);\n // setGender(listFromApi[0].id);\n };\n getGenderList();\n\n fetchUserProfile();\n\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n getInitials();\n }, []);\n\n const setMobileData = () => {\n let userInfo = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n setMobile(userInfo.mobile);\n setMobileCode(userInfo.callingCode);\n };\n\n const handleClose = () => setShowModal(false);\n const handleShow = () => setShowModal(true);\n\n const fetchCountryCode = async () => {\n let res = await appservice.getCountryList();\n return res;\n };\n\n const fetchGenderList = async () => {\n let res = await appservice.getGender();\n return res;\n };\n const fetchDocTypeList = async () => {\n let res = await appservice.getDocumentType();\n return res;\n };\n\n const fetchUserProfile = async () => {\n let res = await dashboardservice.getProfile();\n if (\n res &&\n res.data &&\n res.message &&\n res.message.status &&\n res.message.status === \"Success\"\n ) {\n setfName(res.data.firstName);\n setlName(res.data.lastName);\n setGender(res.data.genderId);\n setSelectedDOB(res.data.dateOfBirth);\n setPatientDOB(res.data.dateOfBirth.slice(0, 10));\n setEmail(res.data.email);\n setDocId(res.data.documentId);\n setDocType(res.data.documentTypeId);\n setCountry(res.data.countryId);\n }\n };\n\n const getInitials = () => {\n let userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n const fullName = userData.firstName + \" \" + userData.lastName;\n const names = fullName.split(\" \");\n let initials = names[0].substring(0, 1).toUpperCase();\n if (names.length > 1) {\n initials += names[names.length - 1].substring(0, 1).toUpperCase();\n }\n setInitials(initials);\n };\n\n function validateForm() {\n let isValid: boolean = true;\n if (fName.trim() === \"\") {\n setFnameError(true);\n isValid = false;\n }\n if (lName.trim() === \"\") {\n setLnameError(true);\n isValid = false;\n }\n if (gender === null) {\n setGenderError(true);\n isValid = false;\n }\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n isValid = false;\n }\n\n if (email.trim() === \"\" || emailError) {\n setEmailError(true);\n isValid = false;\n }\n if (docId.trim() === \"\" || docIdError) {\n setDocIdError(true);\n isValid = false;\n }\n if (country === null || countryError) {\n setCountryError(true);\n isValid = false;\n }\n if (docType === null || docType === 0 || docTypeError) {\n setDocTypeError(true);\n isValid = false;\n }\n\n return isValid;\n }\n\n function checkEmirateId() {\n let isValid: boolean = true;\n if (docType.toString() === \"1\") {\n const emirateId = docId;\n const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n const compereCodeWith =\n \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n if (emirateId !== compereCodeWith) {\n isValid = false;\n }\n }\n return isValid;\n }\n\n // let handleSubmit = async () => {\n // let data;\n // if (validateForm()) {\n // authCtx.toggleLoader(true);\n // data = {\n // firstName: fName.trim(),\n // lastName: lName.trim(),\n // email: email.trim(),\n // dateOfBirth: patientDOB,\n // genderId: gender,\n // countryId: country,\n // documentTypeId: docType,\n // documentId: docId,\n // mobile: mobile,\n // callingCode: mobileCode\n // };\n // let res = await dashboardservice.saveProfile(data);\n // if (res.message.status === \"Success\") {\n // authCtx.toggleLoader(false);\n // let userInfo = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n // userInfo.firstName = res.data.firstName;\n // userInfo.lastName = res.data.lastName;\n // localStorage.setItem(\"user\", JSON.stringify(userInfo));\n // props.reloadPage();\n // setModalText(t(\"saveProfileSuccess\"));\n // handleShow();\n // setModalType(\"success\");\n // setTimeout(() => {\n // setModalText(\"\");\n // handleClose();\n // fetchUserProfile();\n // }, 3000);\n // } else {\n // authCtx.toggleLoader(false);\n // setModalText(t(\"saveProfileError\"));\n // handleShow();\n // setModalType(\"error\");\n // setTimeout(() => {\n // setModalText(\"\");\n // handleClose();\n // fetchUserProfile();\n // }, 3000);\n // }\n // }\n // };\n let handleSubmit = async () => {\n let data;\n if (validateForm()) {\n if (checkEmirateId()) {\n authCtx.toggleLoader(true);\n data = {\n firstName: fName.trim(),\n lastName: lName.trim(),\n email: email.trim(),\n dateOfBirth: patientDOB,\n genderId: gender,\n countryId: country,\n documentTypeId: docType,\n documentId: docId,\n };\n let res = await dashboardservice.saveProfile(data);\n if (res.message.status === \"Success\") {\n authCtx.toggleLoader(false);\n authCtx.setUserProfileDetails(res.data);\n let userInfo = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n userInfo.firstName = res.data.firstName;\n userInfo.lastName = res.data.lastName;\n localStorage.setItem(\"user\", JSON.stringify(userInfo));\n localStorage.removeItem(\"getPatientRecord\");\n localStorage.setItem(\"isPatientRecordCall\", \"false\");\n props.reloadPage();\n setModalText(t(\"saveProfileSuccess\"));\n handleShow();\n setModalType(\"success\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n fetchUserProfile();\n }, 3000);\n } else {\n authCtx.toggleLoader(false);\n setModalText(t(\"saveProfileError\"));\n handleShow();\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n fetchUserProfile();\n }, 3000);\n }\n } else {\n authCtx.toggleLoader(false);\n setShowModal(true);\n setModalType(\"error\");\n setModalText(\"Emirates id or date of birth is invalid, please check\");\n }\n }\n };\n const handleDOBChange = (date: any | null) => {\n if (date !== null && date.toString() !== \"Invalid Date\") {\n const offset = date.getTimezoneOffset();\n date = new Date(date.getTime() - offset * 60 * 1000);\n setSelectedDOB(date);\n setPatientDOB(date.toISOString().slice(0, 10));\n }\n let isValid = moment(date, \"DD/MM/YYYY\", true).isValid();\n if (isValid) {\n let today = moment(new Date().getDate() + 1, \"DD/MM/YYYY\");\n let selectedDate = moment(date, \"DD/MM/YYYY\");\n if (moment(selectedDate).isAfter(today)) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobRangeError\"));\n } else {\n setSelectedDOBError(false);\n setSelectedDOBErrorText(\"\");\n }\n } else {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"dobFormatError\"));\n }\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n setterName(e.target.value);\n if (errorSetterName) {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n } else {\n errorSetterName(false);\n }\n }\n };\n\n const handleDocIdChange = (e: any) => {\n let pattern = /^784[0-9]{12}$/;\n if (docType === 1) {\n let text = e.target.value;\n let emirateId = text.replace(/-/g, \"\").trim();\n setDocId(emirateId);\n if (pattern.test(emirateId)) {\n if (emirateId.length < 8) {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n } else {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n }\n } else {\n setDocId(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setDocIdError(true);\n setDocIdErrorText(\"\");\n } else if (e.target.value.length < 6) {\n setDocIdError(true);\n setDocIdErrorText(t(\"profile:docIdInvalidError\"));\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n }\n };\n\n const handleEmailChange = (e: any) => {\n setEmail(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setEmailError(true);\n setEmailErrorText(\"\");\n } else if (\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(e.target.value)\n ) {\n setEmailError(true);\n setEmailErrorText(t(\"emailValidError\"));\n } else {\n setEmailError(false);\n setEmailErrorText(\"\");\n }\n };\n\n return (\n <>\n
\n
\n
\n

{initials}

\n
\n
\n
\n
\n
\n
\n {\n handleInputChange(e, setfName, setFnameError);\n }}\n />\n
\n
\n
\n
\n {\n handleInputChange(e, setlName, setLnameError);\n }}\n />\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n {\n handleEmailChange(e);\n }}\n />\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n {\n setGender(e.target.value);\n setGenderError(false);\n }}\n >\n {genderList &&\n genderList.map((item: any) => (\n \n {item.text}\n \n ))}\n \n
\n
\n
\n
\n {\n setCountry(e.target.value);\n setCountryError(false);\n }}\n >\n {cList &&\n cList.map((country: any) => (\n \n {country.text}\n \n ))}\n \n
\n
\n
\n
\n
\n
\n {\n setDocType(e.target.value);\n setDocId(\"\");\n }}\n >\n {docTypeList &&\n docTypeList.map((item: any) => (\n \n {item.text}\n \n ))}\n \n
\n
\n
\n
\n {docType === 1 ? (\n {\n handleDocIdChange(e);\n }}\n />\n ) : (\n {\n handleDocIdChange(e);\n }}\n />\n )}\n
\n
\n
\n
\n \n
\n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n};\n\nexport default PersonalDetails;\n","import { useState, useContext } from \"react\";\nimport AuthContext from \"../store/auth-context\";\nimport { loginservice } from \"../services/login.service\";\nimport { IconButton, InputAdornment, TextField } from \"@material-ui/core\";\n\nimport { Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { useTranslation } from \"react-i18next\";\nimport { Visibility, VisibilityOff } from \"@material-ui/icons\";\n\nfunction ChangePassword() {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"changePassword\"]);\n const [showModal, setShowModal] = useState(false);\n\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n\n const [oldPass, setOldPass] = useState(\"\");\n const [oldPassError, setOldPassError] = useState(false);\n const [oldPassErrorText, setOldPassErrorText] = useState(\"\");\n\n const [pass, setPass] = useState(\"\");\n const [passError, setPassError] = useState(false);\n const [passErrorText, setPassErrorText] = useState(\"\");\n\n const [cPass, setCpass] = useState(\"\");\n const [cpassError, setCpassError] = useState(false);\n const [cPassErrorText, setCpassErrorText] = useState(\"\");\n\n const [showOldPassword, setShowOldPassword] = useState(false);\n const handleClickShowOldPassword = () => setShowOldPassword(!showOldPassword);\n const handleMouseDownOldPassword = () => setShowOldPassword(!showOldPassword);\n\n const [showNewPassword, setShowNewPassword] = useState(false);\n const handleClickShowNewPassword = () => setShowNewPassword(!showNewPassword);\n const handleMouseDownNewPassword = () => setShowNewPassword(!showNewPassword);\n\n const [showComparePassword, setShowComparePassword] = useState(false);\n const handleClickShowComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n const handleMouseDownComparePassword = () =>\n setShowComparePassword(!showComparePassword);\n\n let uaeUserInfo = JSON.parse(localStorage.getItem(\"uaeUser\") || \"0\").toString();\n\n const handleClose = () => {\n setShowModal(false);\n };\n const handleShow = () => {\n setShowModal(true);\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any,\n errorSetterText?: any\n ) => {\n setterName(e.target.value);\n\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n errorSetterText(t(\"\"));\n } else {\n if (e.target.value.length > 50 || e.target.value.length < 8) {\n errorSetterName(true);\n errorSetterText(t(\"invalidPassword\"));\n } else {\n errorSetterName(false);\n errorSetterText(t(\"\"));\n }\n }\n };\n\n const handleConfirmPasswordChange = (e: any) => {\n setCpass(e.target.value);\n let confirmPass = e.target.value;\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setCpassError(true);\n setCpassErrorText(\"\");\n } else {\n if (e.target.value.length > 50 || e.target.value.length < 8) {\n setCpassError(true);\n setCpassErrorText(t(\"invalidPassword\"));\n } else {\n if (pass !== confirmPass) {\n setCpassError(true);\n setCpassErrorText(t(\"passNotMatch\"));\n } else {\n setCpassError(false);\n setCpassErrorText(\"\");\n }\n }\n }\n };\n\n function validateForm() {\n let isValid: boolean = true;\n\n if (pass.trim() === \"\" || passError) {\n setPassError(true);\n isValid = false;\n }\n if (cPass.trim() === \"\" || cpassError) {\n setCpassError(true);\n isValid = false;\n }\n if (oldPass.trim() === \"\" || oldPassError) {\n setOldPassError(true);\n isValid = false;\n }\n return isValid;\n }\n let handleSubmit = async () => {\n if (validateForm()) {\n if (oldPass === pass) {\n handleShow();\n setModalText(t(\"oldNewPassSame\"));\n setModalType(\"error\");\n setTimeout(() => {\n setPass(\"\");\n setCpass(\"\");\n handleClose();\n setModalText(\"\");\n }, 3000);\n } else {\n authCtx.toggleLoader(true);\n\n let res = await loginservice.changePass(oldPass, pass);\n if (res.message.status === \"Success\") {\n authCtx.toggleLoader(false);\n handleShow();\n setModalText(t(\"passChangeSuccess\"));\n setModalType(\"success\");\n setTimeout(() => {\n setOldPass(\"\");\n setPass(\"\");\n setCpass(\"\");\n handleClose();\n }, 3000);\n }\n if (res.message.status === \"Invalid\") {\n if (res.message.message === \"Incorrect old password\") {\n setModalText(t(\"oldPassError\"));\n } else {\n setModalText(t(\"passChangeError\"));\n }\n authCtx.toggleLoader(false);\n handleShow();\n setModalType(\"error\");\n\n setTimeout(() => {\n setOldPass(\"\");\n setPass(\"\");\n setCpass(\"\");\n handleClose();\n setModalText(\"\");\n }, 3000);\n }\n }\n }\n };\n\n return (\n <>\n
\n {\n handleInputChange(\n e,\n setOldPass,\n setOldPassError,\n setOldPassErrorText\n );\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showOldPassword ? : }\n \n \n ),\n }}\n />\n
\n
\n {\n handleInputChange(e, setPass, setPassError, setPassErrorText);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showNewPassword ? : }\n \n \n ),\n }}\n />\n
\n
\n {\n handleConfirmPasswordChange(e);\n }}\n InputProps={{\n // <-- This is where the toggle button is added.\n endAdornment: (\n \n \n {showComparePassword ? : }\n \n \n ),\n }}\n />\n
\n
\n \n
\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default ChangePassword;\n","import React, { useContext, useEffect, useState } from \"react\";\nimport PersonalDetails from \"./PersonalDetails\";\nimport UploadDocs from \"./UploadDocs\";\nimport ChangePassword from \"./ChangePassword\";\nimport Notification from \"./common/Notification\";\nimport UserMenu from \"./common/UserMenu\";\nimport { useTranslation } from \"react-i18next\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Snackbar,\n} from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport { dashboardservice } from \"../services/dashboard.service\";\nimport AuthContext from \"../store/auth-context\";\nimport { useHistory } from \"react-router-dom\";\nimport { appservice } from \"../services/app.service\";\nimport clearWebStorage from \"../components/clearWebStorage\";\nfunction Profile() {\n const authCtx = useContext(AuthContext);\n const history = useHistory();\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [modalType, setModalType] = useState(\"error\");\n const [confirmationModel, setConfirmationModel] = useState(false);\n const { t } = useTranslation([\"profile\"]);\n const brandName = localStorage.getItem(\"brandName\");\n const userData = JSON.parse(localStorage.getItem(\"user\") || \"{}\");\n\n const [refreshPage, setRefreshPage] = React.useState(1);\n const uaePassLogout: any = process.env.REACT_APP_UAEPASS_LOGOUT;\n\n let uaeUserInfo = JSON.parse(\n localStorage.getItem(\"uaeUser\") || \"0\"\n ).toString();\n\n const handleClose = () => {\n setShowModal(false);\n };\n\n const reloadPage = async () => {\n //to refresh child component\n let temp = refreshPage;\n setRefreshPage(temp + 1);\n };\n useEffect(() => {}, [refreshPage]);\n\n const handleComfirmationClose = () => setConfirmationModel(false);\n\n const handleDelteAccount = async () => {\n authCtx.toggleLoader(true);\n const res = await appservice.deleteAccount();\n if (res && res.message.status === \"Success\") {\n setConfirmationModel(false);\n setModalText(res.message.message);\n setModalType(\"success\");\n setShowModal(true);\n setTimeout(() => {\n logout();\n }, 1000);\n } else {\n setModalText(res.message.message);\n setModalType(\"error\");\n setShowModal(true);\n }\n\n authCtx.toggleLoader(false);\n };\n\n let logout = async () => {\n authCtx.toggleLoader(true);\n await dashboardservice.logout();\n authCtx.toggleLoader(false);\n authCtx.setMobile(\"\", \"\");\n authCtx.removeUserInfo();\n authCtx.removeApiToken();\n clearTokens();\n if (localStorage.getItem(\"uaeUser\") === \"1\") {\n localStorage.setItem(\"uaeUser\", \"0\");\n window.location.replace(uaePassLogout);\n } else {\n history.push(\"/home/login\");\n }\n clearWebStorage();\n if (brandName === \"aldhannah\" && userData.facilityId === \"AD10\") {\n let theme: any = document.getElementById(\"theme\");\n theme.href = \"/css/theme-aldhannah.css\";\n document.title = \"AlDhannah | Patient Portal\";\n }\n };\n\n const clearTokens = async () => {\n const removeItem: any = [\n \"token\",\n \"refreshToken\",\n \"tokenExpiresAt\",\n \"refreshExpiresAt\",\n \"user\",\n \"userMobile\",\n \"getPatientRecord\",\n \"isPatientRecordCall\",\n \"uaeUser\",\n \"appConfiguration\",\n ];\n\n for (const key of removeItem) {\n localStorage.removeItem(key);\n }\n };\n\n const openMobileMenu = (e: any) => {\n e.preventDefault();\n\n document.getElementById(\"leftMenu\")?.classList.remove(\"d-none\");\n };\n\n return (\n <>\n
\n
\n openMobileMenu(e)}\n >\n menu\n \n

My Profile

\n
\n \n \n {/* key is used to refresh component */}\n
\n
\n\n
\n
\n
\n
\n
\n {\" \"}\n {t(\"personalDetails\")}\n
\n \n
\n
\n
\n
\n {uaeUserInfo !== \"1\" && (\n
\n
\n
\n {\" \"}\n {t(\"changePassword\")}\n
\n \n
\n
\n )}\n
\n
\n
\n {\" \"}\n {t(\"DeleteAccount\")}\n
\n

{t(\"DeleteAccountNote\")}

\n
\n setConfirmationModel(true)}\n >\n {t(\"DeleteAccount\")}\n \n
\n
\n
\n
\n
\n {/*
\n
\n
{t(\"DeleteAccount\")}
\n

{t(\"DeleteAccountNote\")}

\n
\n setConfirmationModel(true)}\n >\n {t(\"DeleteAccount\")}\n \n
\n
\n
*/}\n
\n {/*
\n
\n
\n
{t(\"uploadDocuments\")}
\n \n
\n
\n
*/}\n
\n
\n\n \n Confirmation\n \n {\" \"}\n

\n Your profile & associated family members profile details will be\n deleted permanently. Are you sure you want to delete this account?\n

\n
\n \n {\" \"}\n \n \n \n \n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n}\n\nexport default Profile;\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const familyMemberservice = {\n getFamilyList,\n saveFamilyMember,\n deleteFamilyMember,\n sendOtpToFamily,\n sendotptoFamilyForAdd,\n verifyMobileForFamily,\n};\n\nasync function getFamilyList() {\n const apiPath = API_ENDPOINTS.GET_FAMILY_MEMBERS;\n const options = {\n path: apiPath,\n method: \"GET\",\n bodyObj: {},\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function saveFamilyMember(data: any) {\n const apiPath = API_ENDPOINTS.SAVE_FAMILY_MEMBER;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n FamilyMemberId: data.familyMemberId,\n FirstName: data.firstName,\n LastName: data.lastName,\n Email: data.email,\n Mobile: data.mobile,\n CallingCode: data.callingCode,\n DateOfBirth: data.dateOfBirth,\n GenderId: data.genderId,\n CountryId: data.countryId,\n DocumentTypeId: data.documentTypeId,\n DocumentId: data.documentId,\n RelationId: data.relationId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function deleteFamilyMember(id: any) {\n const apiPath = API_ENDPOINTS.DELETE_FAMILY_MEMBER + id;\n const options = {\n path: apiPath,\n method: \"Delete\",\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function sendOtpToFamily(callingCode: string, mobile: string) {\n const apiPath = API_ENDPOINTS.SEND_OTP;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n callingCode: callingCode,\n mobile: mobile\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\nasync function sendotptoFamilyForAdd(refrenceId: string) {\n const apiPath = API_ENDPOINTS.SEND_OTP_TO_FAMILY_FOR_ADD;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n referenceId: refrenceId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}\n\nasync function verifyMobileForFamily(otp: string, refrenceId: string) {\n const apiPath = API_ENDPOINTS.VERIFY_MOBILE_FOR_FAMILY;\n const options = {\n path: apiPath,\n method: \"POST\",\n bodyObj: {\n otp: otp,\n referenceId: refrenceId,\n },\n customHeaders: {\n \"Content-Type\": \"application/json\",\n },\n };\n return await makeRequest(options);\n}","import { useState, useEffect, useContext } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { appservice } from \"../services/app.service\";\nimport { familyMemberservice } from \"../services/familyMember.services\";\nimport AuthContext from \"../store/auth-context\";\nimport { useTranslation } from \"react-i18next\";\nimport TextField from \"@material-ui/core/TextField\";\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n MenuItem,\n} from \"@material-ui/core\";\nimport moment from \"moment\";\nimport countryList from \"../constants/countryList.json\";\nimport { loginservice } from \"../services/login.service\";\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\nimport Paper from \"@material-ui/core/Paper\";\nimport { createFilterOptions } from \"@material-ui/lab/Autocomplete\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport { Snackbar } from \"@material-ui/core\";\nimport { Alert } from \"@material-ui/lab\";\nimport NumberFormat from \"react-number-format\";\n\nconst FamilyMembersDetails = (props: any) => {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"familyMember\", \"profile\", \"login\"]);\n const [callingCode, setCallingCode] = useState(\"971\");\n const [nationalityList, setNationality] = useState([]);\n const [genderList, setGenderList] = useState([]);\n const [docTypeList, setDocTypeList] = useState([]);\n const [relationList, setRelationList] = useState([]);\n\n const [showModal, setShowModal] = useState(false);\n const [modalText, setModalText] = useState(\"\");\n const [showVerifyNumberModal, setVerifyNumberModal] =\n useState(false);\n const [modalType, setModalType] = useState(\"error\");\n\n const [fmId, setfmId] = useState(\"\");\n const [fName, setfName] = useState(\"\");\n\n const [fNameError, setFnameError] = useState(false);\n\n const [lName, setlName] = useState(\"\");\n const [lNameError, setLnameError] = useState(false);\n\n const [gender, setGender] = useState(\"\");\n const [genderError, setGenderError] = useState(false);\n\n const [selectedDOB, setSelectedDOB] = useState(null);\n const [patientDOB, setPatientDOB] = useState();\n const [selectedDOBError, setSelectedDOBError] = useState(false);\n const [selectedDOBErrorText, setSelectedDOBErrorText] = useState(\"\");\n\n const [email, setEmail] = useState(\"\");\n const [emailError, setEmailError] = useState(false);\n const [emailErrorText, setEmailErrorText] = useState(\"\");\n\n const [docId, setDocId] = useState(\"\");\n const [docIdError, setDocIdError] = useState(false);\n const [docIdErrorText, setDocIdErrorText] = useState(\"\");\n\n const [docType, setDocType] = useState(0);\n const [docTypeError, setDocTypeError] = useState(false);\n\n const [country, setCountry] = useState(\"\");\n const [countryError, setCountryError] = useState(false);\n\n const [relation, setRelation] = useState(\"\");\n const [relationError, setRelationError] = useState(false);\n\n const [loginMobile, setLoginMobile] = useState(\"\");\n const [loginMobileError, setLoginMobileError] = useState(false);\n //const [loginMobileErrorText, setLoginMobileErrorText] = useState(\"\");\n\n const [age, setAge] = useState(0);\n const [isDateChange, setIsDateChange] = useState(false);\n\n const [otp, setOtp] = useState(\"\");\n const [otpError, setOtpError] = useState(false);\n const [otpErrortext, setOtpErrorText] = useState(\"\");\n const [second, setSecond] = useState(\"00\");\n const [minute, setMinute] = useState(\"00\");\n const [isActive, setIsActive] = useState(false);\n const [counter, setCounter] = useState(0);\n const [refrenceId, setReferanceId] = useState(\"\");\n\n const [confirmationModel, setConfirmationModel] = useState(false);\n\n useEffect(() => {\n const getCountryCode = async () => {\n const listFromApi = await fetchCountryCode();\n setNationality(listFromApi);\n };\n\n const getDocumentTypeList = async () => {\n const listFromApi = await fetchDocTypeList();\n setDocTypeList(listFromApi);\n };\n\n const getGenderList = async () => {\n const listFromApi = await fetchGenderList();\n setGenderList(listFromApi);\n if (props.mId !== \"0\") {\n setGender(props.mData.genderId);\n }\n };\n\n const getRelationshipList = async () => {\n const listFromApi = await fetchRelationshipList();\n setRelationList(listFromApi);\n };\n setfmId(props.mId);\n\n getGenderList();\n getCountryCode();\n getDocumentTypeList();\n getRelationshipList();\n\n const setFamilyData = () => {\n if (props.mId !== \"0\") {\n setfName(props.mData.firstName);\n setlName(props.mData.lastName);\n setEmail(props.mData.email);\n setSelectedDOB(props.mData.dateOfBirth);\n setPatientDOB(props.mData.dateOfBirth.slice(0, 10));\n setLoginMobile(props.mData.mobile);\n setGender(props.mData.genderId);\n setCountry(props.mData.countryId);\n setDocId(props.mData.documentId);\n setDocType(props.mData.documentTypeId);\n setRelation(props.mData.relationId);\n setCallingCode(props.mData.callingCode);\n }\n };\n\n setFamilyData();\n // eslint-disable-next-line\n }, []);\n\n useEffect(() => {\n if (props.mId !== \"0\") {\n if (!isDateChange) {\n calculateAge(new Date(props.mData.dateOfBirth));\n }\n }\n // eslint-disable-next-line\n }, [loginMobile]);\n\n useEffect(() => {\n let intervalId: any;\n if (isActive) {\n intervalId = setInterval(() => {\n if (counter > 0) {\n const secondCounter = counter % 60;\n const minuteCounter = Math.floor(counter / 60);\n const computedSecond =\n String(secondCounter).length === 1\n ? `0${secondCounter}`\n : secondCounter;\n const computedMinute =\n String(minuteCounter).length === 1\n ? `0${minuteCounter}`\n : minuteCounter;\n setSecond(computedSecond.toString());\n setMinute(computedMinute.toString());\n setCounter((counter) => counter - 1);\n } else {\n setIsActive(false);\n setCounter(60);\n setSecond(\"00\");\n setMinute(\"00\");\n }\n }, 1000);\n }\n\n return () => clearInterval(intervalId);\n }, [isActive, counter]);\n\n const handleComfirmationClose = () => setConfirmationModel(false);\n\n const fetchCountryCode = async () => {\n let res = await appservice.getCountryList();\n return res;\n };\n\n const fetchGenderList = async () => {\n let res = await appservice.getGender();\n return res;\n };\n const fetchDocTypeList = async () => {\n let res = await appservice.getDocumentType();\n return res;\n };\n const fetchRelationshipList = async () => {\n let res = await appservice.getRelation();\n return res;\n };\n\n const handleClose = () => setShowModal(false);\n const handleShow = () => setShowModal(true);\n\n const handleVerifyNumberModalClose = async () => {\n setVerifyNumberModal(false);\n setIsActive(false);\n setCounter(60);\n setSecond(\"00\");\n setMinute(\"00\");\n };\n\n function validateForm() {\n let isValid: boolean = true;\n if (fName.trim() === \"\") {\n setFnameError(true);\n isValid = false;\n }\n\n if (lName.trim() === \"\") {\n setLnameError(true);\n isValid = false;\n }\n if (loginMobile.trim() === \"\") {\n setLoginMobileError(true);\n isValid = false;\n }\n if (gender === null || gender === \"\") {\n setGenderError(true);\n isValid = false;\n }\n if (selectedDOB === null || selectedDOBError) {\n setSelectedDOBError(true);\n isValid = false;\n }\n\n if (email.trim() === \"\" || emailError) {\n setEmailError(true);\n isValid = false;\n }\n if (docId.trim() === \"\" || docIdError) {\n setDocIdError(true);\n isValid = false;\n }\n\n if (docType === null || docType === 0 || docTypeError) {\n setDocTypeError(true);\n isValid = false;\n }\n if (country === null || country === \"\" || countryError) {\n setCountryError(true);\n isValid = false;\n }\n if (relation === null || relation === \"\" || relationError) {\n setRelationError(true);\n isValid = false;\n }\n\n return isValid;\n }\n\n function checkEmirateId() {\n const userData: any = authCtx.userProfileDetails;\n let isValid: boolean = true;\n // const duplicateRecord = props.familyList ? props.familyList.find(\n // (item: any) => item.documentId === docId\n // ) : null;\n // if (duplicateRecord) {\n // isValid = false;\n // } else {\n // if (docType.toString() === \"1\") {\n // const emirateId = docId;\n // const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n // const compereCodeWith =\n // \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n // if (\n // emirateId !== compereCodeWith ||\n // userData.documentId === emirateId\n // ) {\n // isValid = false;\n // }\n // }\n // }\n\n if (props.mId && props.mId === \"0\") {\n if (props.familyList && props.familyList.length > 0) {\n const duplicateRecord = props.familyList.find(\n (item: any) => item.documentId === docId\n );\n if (duplicateRecord) {\n handleShow();\n setModalText(\n t(\"Duplicate document id. Please enter a unique Document id\")\n );\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n isValid = false;\n }\n }\n if (docType.toString() === \"1\") {\n const emirateId = docId;\n const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n const compereCodeWith =\n \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n if (\n emirateId !== compereCodeWith ||\n userData.documentId === emirateId\n ) {\n handleShow();\n setModalText(t(\"Invalid Emirates Id or date of birth\"));\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n isValid = false;\n }\n }\n } else {\n if (docType.toString() === \"1\") {\n const emirateId = docId;\n const dobYear = moment(selectedDOB, \"YYYY-MM-DD\").format(\"YYYY\");\n const compereCodeWith =\n \"784\" + dobYear + emirateId.toString().slice(7, emirateId.length);\n if (\n emirateId !== compereCodeWith ||\n userData.documentId === emirateId\n ) {\n handleShow();\n setModalText(t(\"Invalid Emirates Id or date of birth\"));\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n isValid = false;\n }\n }\n }\n\n return isValid;\n }\n\n const handleDOBChange = (date: any | null) => {\n setIsDateChange(true);\n if (date !== null && date.toString() !== \"Invalid Date\") {\n const offset = date.getTimezoneOffset();\n date = new Date(date.getTime() - offset * 60 * 1000);\n setSelectedDOB(date);\n setPatientDOB(date.toISOString().slice(0, 10));\n }\n let isValid = moment(date, \"DD/MM/YYYY\", true).isValid();\n if (isValid) {\n let today = moment(new Date().getDate() + 1, \"DD/MM/YYYY\");\n let selectedDate = moment(date, \"DD/MM/YYYY\");\n if (moment(selectedDate).isAfter(today)) {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"profile:dobRangeError\"));\n } else {\n setSelectedDOBError(false);\n setSelectedDOBErrorText(\"\");\n }\n } else {\n setSelectedDOBError(true);\n setSelectedDOBErrorText(t(\"profile:dobFormatError\"));\n }\n\n calculateAge(date);\n };\n\n function calculateAge(date: any) {\n let userMobileDetails = JSON.parse(\n localStorage.getItem(\"userMobile\") || \"{}\"\n );\n if (date !== null) {\n var diff_ms = Date.now() - date.getTime();\n var age_dt = new Date(diff_ms);\n\n let age = Math.abs(age_dt.getUTCFullYear() - 1970);\n setAge(age);\n }\n }\n\n function validateOtp() {\n let isValid: boolean = true;\n if (otp.trim() === \"\" || otpError) {\n setOtpError(true);\n isValid = false;\n }\n return isValid;\n }\n\n let sendOtpToFamily = async () => {\n setOtp(\"\");\n authCtx.toggleLoader(true);\n let res = await familyMemberservice.sendotptoFamilyForAdd(refrenceId);\n authCtx.toggleLoader(false);\n if (res.message.status === \"Success\") {\n setIsActive(true);\n setVerifyNumberModal(true);\n handleShow();\n setModalText(t(\"login:otpSendSuccess\"));\n setModalType(\"success\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else {\n handleShow();\n setModalText(t(\"login:otpSendError\"));\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n }\n };\n\n let handleOtp = async () => {\n authCtx.toggleLoader(true);\n if (validateOtp()) {\n let res = await familyMemberservice.verifyMobileForFamily(\n otp,\n refrenceId\n );\n authCtx.toggleLoader(false);\n if (res.validOtp && res.message === \"Success\") {\n handleShow();\n setModalText(t(\"login:otpVerifySuccess\"));\n setModalType(\"success\");\n props.handlePopupClose();\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n if (props.mId !== \"0\") {\n props.handleEditClose();\n }\n }, 3000);\n } else {\n if (!res.validOtp) {\n handleShow();\n setModalText(t(\"login:otpVerifyError\"));\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n }\n }\n }\n };\n\n const handleInputChange = (\n e: any,\n setterName: any,\n errorSetterName?: any\n ) => {\n let userMobileDetails = JSON.parse(\n localStorage.getItem(\"userMobile\") || \"{}\"\n );\n setterName(e.target.value);\n if (errorSetterName) {\n if (e.target.name === \"loginMobile\" || e.target.name === \"otp\") {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"login:otpError\"));\n }\n } else {\n const re = /^[0-9\\b]+$/;\n if (!re.test(e.target.value)) {\n errorSetterName(true);\n if (e.target.name === \"otp\") {\n setOtpErrorText(t(\"login:numberError\"));\n }\n } else {\n errorSetterName(false);\n setOtpErrorText(\"\");\n }\n }\n } else {\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n errorSetterName(true);\n } else {\n errorSetterName(false);\n }\n }\n }\n };\n\n const handleCallingCode = (phoneCode: any) => {\n let userMobileDetails = JSON.parse(\n localStorage.getItem(\"userMobile\") || \"{}\"\n );\n setCallingCode(phoneCode);\n };\n\n const handleDocIdChange = (e: any) => {\n let pattern = /^784[0-9]{12}$/;\n if (docType === 1) {\n let text = e.target.value;\n let emirateId = text.replace(/-/g, \"\").trim();\n setDocId(emirateId);\n if (pattern.test(emirateId)) {\n if (emirateId.length < 8) {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n } else {\n setDocIdError(true);\n setDocIdErrorText(\"Please enter a valid Emirates ID\");\n }\n } else {\n setDocId(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setDocIdError(true);\n setDocIdErrorText(\"\");\n } else if (e.target.value.length < 6) {\n setDocIdError(true);\n setDocIdErrorText(t(\"profile:docIdInvalidError\"));\n } else {\n setDocIdError(false);\n setDocIdErrorText(\"\");\n }\n }\n };\n\n const handleEmailChange = (e: any) => {\n setEmail(e.target.value);\n if (e.target.value === \"\" || e.target.value.trim() === \"\") {\n setEmailError(true);\n setEmailErrorText(\"\");\n } else if (\n !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(e.target.value)\n ) {\n setEmailError(true);\n setEmailErrorText(t(\"profile:emailValidError\"));\n } else {\n setEmailError(false);\n setEmailErrorText(\"\");\n }\n };\n\n const handleConfirmationOpen = () => {\n if (validateForm()) {\n if (checkEmirateId()) {\n if (props.mId !== \"0\") {\n handleSubmit();\n } else {\n setConfirmationModel(true);\n }\n } \n }\n };\n\n // let handleSubmit = async () => {\n // let data;\n // if (validateForm()) {\n // authCtx.toggleLoader(true);\n // data = {\n // familyMemberId: fmId,\n // firstName: fName.trim(),\n // lastName: lName.trim(),\n // email: email.trim(),\n // dateOfBirth: patientDOB,\n // mobile: loginMobile,\n // callingCode: callingCode,\n // genderId: gender,\n // countryId: country,\n // documentTypeId: docType,\n // documentId: docId,\n // relationId: relation,\n // otp: otp,\n // // digitalConsentFileUrl:\n // // \"https://vpsstapreprodmuleuaen01.blob.core.windows.net/patientportalstorage/170c846f-f715-4c91-9db6-7b687ca5488d/signature.png\",\n // // digitalConsentFileName:\n // // \"170c846f-f715-4c91-9db6-7b687ca5488d/signature.png\",\n // };\n // let res = await familyMemberservice.saveFamilyMember(data);\n // authCtx.toggleLoader(false);\n // if (\n // res &&\n // res.message &&\n // res.message.status &&\n // res.message.status === \"Success\"\n // ) {\n // handleShow();\n // setfmId(res.data.familyMemberId);\n // setModalText(res.message.message);\n // setModalType(\"success\");\n // props.handlePopupClose();\n // setTimeout(() => {\n // setModalText(\"\");\n // handleClose();\n // if (props.mId !== \"0\") {\n // props.handleEditClose();\n // } else {\n // //Commenting it to stop redirecting to upload documents screen\n // // props.showDoc(res.data.familyMemberId);\n // }\n // }, 3000);\n // } else {\n // handleShow();\n // setModalText(t(\"familyMember:saveFamilyMemberError\"));\n // setModalType(\"error\");\n // setTimeout(() => {\n // setModalText(\"\");\n // handleClose();\n // }, 3000);\n // }\n // }\n // };\n let handleSubmit = async () => {\n let data;\n setConfirmationModel(false);\n setReferanceId(\"\");\n authCtx.toggleLoader(true);\n data = {\n familyMemberId: fmId,\n firstName: fName.trim(),\n lastName: lName.trim(),\n email: email.trim(),\n dateOfBirth: patientDOB,\n mobile: loginMobile,\n callingCode: callingCode,\n genderId: gender,\n countryId: country,\n documentTypeId: docType,\n documentId: docId,\n relationId: relation,\n };\n let res = await familyMemberservice.saveFamilyMember(data);\n authCtx.toggleLoader(false);\n if (\n res &&\n res.message &&\n res.message.status &&\n res.message.status === \"Success\"\n ) {\n handleShow();\n setModalText(res.message.message);\n setModalType(\"success\");\n props.handlePopupClose();\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n if (props.mId !== \"0\") {\n props.handleEditClose();\n } else {\n //Commenting it to stop redirecting to upload documents screen\n // props.showDoc(res.data.familyMemberId);\n }\n }, 3000);\n } else if (\n res &&\n res.message &&\n res.message.status &&\n res.message.status === \"OTPSent\"\n ) {\n setReferanceId(res.data.referenceId);\n setIsActive(true);\n setVerifyNumberModal(true);\n handleShow();\n setModalText(t(\"OTP sent to your mobile number\"));\n setModalType(\"success\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n } else if (\n res &&\n res.message &&\n res.message.status &&\n res.message.status === \"NotFound\"\n ) {\n handleShow();\n setModalText(\n t(\n \"The details do not match with your registration records at the facility. Contact 8007267 to add family member.\"\n )\n );\n setModalType(\"error\");\n } else if (res && res.status === 429) {\n handleShow();\n setModalText(res.errorResponse.data);\n setModalType(\"error\");\n } else {\n handleShow();\n setModalText(t(\"familyMember:saveFamilyMemberError\"));\n setModalType(\"error\");\n setTimeout(() => {\n setModalText(\"\");\n handleClose();\n }, 3000);\n }\n };\n return (\n <>\n
\n {/* sign-up-form */}\n
\n {\n handleInputChange(e, setfName, setFnameError);\n }}\n />\n
\n
\n {\n handleInputChange(e, setlName, setLnameError);\n }}\n />\n
\n
\n
\n
\n {\n handleEmailChange(e);\n }}\n />\n
\n
\n \n
\n
\n
\n
\n {countryList && (\n x.phoneCode === callingCode\n )}\n value={countryList.find((x) => x.phoneCode === callingCode)}\n onChange={(event, value) => {\n handleCallingCode(value.phoneCode);\n }}\n filterOptions={createFilterOptions({\n stringify: (option) => \"+\" + option.phoneCode + option.name,\n })}\n getOptionLabel={(option) => \"+\" + option.phoneCode}\n PaperComponent={({ children }) => (\n {children}\n )}\n style={{ minWidth: \"100px\" }}\n renderOption={(option) => (\n <>\n {option.name} (+{option.phoneCode})\n \n )}\n renderInput={(params) => (\n \n )}\n />\n )}\n\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setLoginMobile, setLoginMobileError);\n }}\n />\n
\n
\n\n
\n
\n {\n setGender(e.target.value);\n setGenderError(false);\n }}\n >\n {genderList &&\n genderList.map((item: any) => (\n {item.text}\n ))}\n \n
\n
\n {\n setCountry(e.target.value);\n setCountryError(false);\n }}\n >\n {nationalityList &&\n nationalityList.map((country: any) => (\n {country.text}\n ))}\n \n
\n
\n
\n
\n {\n setDocType(e.target.value);\n setDocId(\"\");\n setDocTypeError(false);\n }}\n >\n {docTypeList &&\n docTypeList.map((item: any) => (\n {item.text}\n ))}\n \n
\n
\n {docType === 1 ? (\n {\n handleDocIdChange(e);\n }}\n />\n ) : (\n {\n handleDocIdChange(e);\n }}\n />\n )}\n
\n
\n
\n
\n {\n setRelation(e.target.value);\n setRelationError(false);\n }}\n >\n {relationList &&\n relationList.map((relation: any) => (\n {relation.text}\n ))}\n \n
\n
\n
\n handleConfirmationOpen()}\n >\n {t(\"familyMember:save\")}\n \n
\n\n \n \n {t(\"familyMember:verifyNumber\")}\n \n \n \n \n \n \n {t(\"familyMember:sentOtpTitle\")}\n \n {\" \"}\n +{callingCode}-{loginMobile}\n \n \n
\n {\n if (!/[0-9]/.test(event.key)) {\n event.preventDefault();\n }\n }}\n onChange={(e: any) => {\n handleInputChange(e, setOtp, setOtpError);\n }}\n />\n
\n

\n {t(\"login:resendOtp\")}{\" \"}\n \n {minute}\n :\n {second}\n \n

\n\n {\n e.preventDefault();\n sendOtpToFamily();\n }}\n >\n {\" \"}\n {t(\"login:resendOtpLink\")}\n \n\n handleOtp()}\n >\n {\" \"}\n {t(\"familyMember:verifyNumber\")}\n \n
\n \n\n \n {t(\"Confirmation\")}\n \n {\" \"}\n

\n {t(\n \"Please check your document type and document id, you will not be able to update it later.\"\n )}\n

\n
\n \n {\" \"}\n \n \n \n \n\n {modalType === \"error\" && (\n \n \n {modalText}\n \n \n )}\n {modalType === \"success\" && (\n \n \n {modalText}\n \n \n )}\n \n );\n};\n\nexport default FamilyMembersDetails;\n","import { API_ENDPOINTS } from \"../constants/apiConfig\";\nimport { makeRequest } from \"../middleware/axiosMiddleware\";\n\nexport const documentservice = {\n uploadDocument,\n getDocuments,\n removeDocument\n}; \n\nasync function uploadDocument(data:any,familyMemberId:number = 0) {\n const apiPath = API_ENDPOINTS.UPLOAD_DOCUMENT + \"?familyMemberId=\" + familyMemberId;\n const options = {\n path: apiPath,\n method: \"POST\",\n formdata: data,\n customHeaders: {\n 'Content-Type': 'multipart/form-data',\n },\n };\n return await makeRequest(options)\n}\n\nasync function getDocuments(familyMemberId:number = 0) {\n const apiPath = API_ENDPOINTS.GET_DOCUMENTS + \"?familyMemberId=\" + familyMemberId;\n const options = {\n path: apiPath,\n method: \"GET\",\n customHeaders: {\n 'Content-Type': 'application/json',\n },\n };\n return await makeRequest(options)\n}\n\nasync function removeDocument(documentType:string, documentSide:string, familyMemberId:number = 0) {\n const apiPath = API_ENDPOINTS.REMOVE_DOCUMENT + \"?documentType=\" + documentType + \"&documentSide=\" + documentSide + \"&familyMemberId=\" + familyMemberId;\n const options = {\n path: apiPath,\n method: \"DELETE\",\n customHeaders: {\n 'Content-Type': 'application/json',\n },\n };\n return await makeRequest(options)\n}","import React, { useState, useEffect, useContext } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { documentservice } from \"../services/document.service\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogActions from \"@material-ui/core/DialogActions\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\nimport { useTranslation } from \"react-i18next\";\nimport { profileService } from \"../services/profile.service\";\nimport AuthContext from \"../store/auth-context\";\n\nenum DocumentType {\n EmiratesID = 1,\n LabourCard = 2,\n DrivingLicense = 3,\n Passport = 4,\n InternationalId = 5,\n Insurance = 6,\n}\n\nenum DocumentSide {\n Front = 1,\n Back = 2,\n}\n\nconst UploadDocs = (props: any) => {\n const authCtx = useContext(AuthContext);\n const { t } = useTranslation([\"document\"]);\n\n const [emiratesIdFrontFileName, setEmiratesIdFrontFileName] = useState(\"\");\n const [emiratesIdFrontFileUrl, setEmiratesIdFrontFileUrl] = useState(\"\");\n const [emiratesIdBackFileName, setEmiratesIdBackFileName] = useState(\"\");\n const [emiratesIdBackFileUrl, setEmiratesIdBackFileUrl] = useState(\"\");\n\n const [passportFrontFileName, setPassportFrontFileName] = useState(\"\");\n const [passportFrontFileUrl, setPassportFrontFileUrl] = useState(\"\");\n const [passportBackFileName, setPassportBackFileName] = useState(\"\");\n const [passportBackFileUrl, setPassportBackFileUrl] = useState(\"\");\n\n const [insuranceFrontFileName, setInsuranceFrontFileName] = useState(\"\");\n const [insuranceFrontFileUrl, setInsuranceFrontFileUrl] = useState(\"\");\n const [insuranceBackFileName, setInsuranceBackFileName] = useState(\"\");\n const [insuranceBackFileUrl, setInsuranceBackFileUrl] = useState(\"\");\n\n const [drivingLicenseFrontFileName, setDrivingLicenseFrontFileName] =\n useState(\"\");\n const [drivingLicenseFrontFileUrl, setDrivingLicenseFrontFileUrl] =\n useState(\"\");\n const [drivingLicenseBackFileName, setDrivingLicenseBackFileName] =\n useState(\"\");\n const [drivingLicenseBackFileUrl, setDrivingLicenseBackFileUrl] =\n useState(\"\");\n\n const [labourCardFrontFileName, setLabourCardFrontFileName] = useState(\"\");\n const [labourCardFrontFileUrl, setLabourCardFrontFileUrl] = useState(\"\");\n const [labourCardBackFileName, setLabourCardBackFileName] = useState(\"\");\n const [labourCardBackFileUrl, setLabourCardBackFileUrl] = useState(\"\");\n\n // const [internationalIdFrontFileName, setInternationalIdFrontFileName] = useState(\"\");\n // const [internationalIdFrontFileUrl, setInternationalIdFrontFileUrl] = useState(\"\");\n // const [internationalIdBackFileName, setInternationalIdBackFileName] = useState(\"\");\n // const [internationalIdBackFileUrl, setInternationalIdBackFileUrl] = useState(\"\");\n\n const [fileErrorText, setFileErrorText] = useState(\"\");\n const [openDialog, setOpenDialog] = React.useState(false);\n\n const [selectedDocumentType, setSelectedDocumentType] = useState(\"\");\n const [selectedDocumentSide, setSelectedDocumentSide] = useState(\"\");\n\n useEffect(() => {\n getDocuments();\n // eslint-disable-next-line\n }, []);\n\n const getBase64File = async (fileUrl: any, fileName: any) => {\n authCtx.toggleLoader(true);\n // let res = await profileService.getProfileDocument(fileUrl, fileName);\n if (fileName) {\n let res = await profileService.getProfileDocument(null, fileName);\n downloadFile(res, fileName);\n }\n };\n\n const downloadFile = (base64: any, fileName: any) => {\n let linkSource: any;\n let ext = fileName.split(\".\").pop().toLowerCase();\n if (ext === \"pdf\") {\n linkSource = `data:application/${ext};base64,${base64}`;\n } else if (ext === \"jpg\" || ext === \"png\" || ext === \"jpeg\") {\n linkSource = `data:image/${ext};base64,${base64}`;\n } else if (ext === \"docx\") {\n linkSource = `data:application/vnd.openxmlformats-officedocument.wordprocessingml.document/${ext};base64,${base64}`;\n }\n\n const downloadLink = document.createElement(\"a\");\n const file = fileName;\n\n downloadLink.href = linkSource;\n downloadLink.download = file;\n downloadLink.click();\n authCtx.toggleLoader(false);\n };\n\n const getDocuments = async () => {\n authCtx.toggleLoader(true);\n const res = await documentservice.getDocuments(props.mId);\n if (res && res.data && res.message && res.message.status === \"Success\") {\n const docResult = res.data;\n setEmiratesIdFrontFileName(docResult.emiratesIdFrontFileName);\n setEmiratesIdFrontFileUrl(docResult.emiratesIdFrontFileUrl);\n setEmiratesIdBackFileName(docResult.emiratesIdBackFileName);\n setEmiratesIdBackFileUrl(docResult.emiratesIdBackFileUrl);\n\n setPassportFrontFileName(docResult.passportFrontFileName);\n setPassportFrontFileUrl(docResult.passportFrontFileUrl);\n setPassportBackFileName(docResult.passportBackFileName);\n setPassportBackFileUrl(docResult.passportBackFileUrl);\n\n setInsuranceFrontFileName(docResult.insuranceFrontFileName);\n setInsuranceFrontFileUrl(docResult.insuranceFrontFileUrl);\n setInsuranceBackFileName(docResult.insuranceBackFileName);\n setInsuranceBackFileUrl(docResult.insuranceBackFileUrl);\n\n setDrivingLicenseFrontFileName(docResult.drivingLicenceFrontFileName);\n setDrivingLicenseFrontFileUrl(docResult.drivingLicenceFrontFileUrl);\n setDrivingLicenseBackFileName(docResult.drivingLicenceBackFileName);\n setDrivingLicenseBackFileUrl(docResult.drivingLicenceBackFileUrl);\n\n setLabourCardFrontFileName(docResult.labourCardFrontFileName);\n setLabourCardFrontFileUrl(docResult.labourCardFrontFileUrl);\n setLabourCardBackFileName(docResult.labourCardBackFileName);\n setLabourCardBackFileUrl(docResult.labourCardBackFileUrl);\n\n // setInternationalIdFrontFileName(docResult.iternationalIdFrontFileName);\n // setInternationalIdFrontFileUrl(docResult.iternationalIdFrontFileUrl)\n // setInternationalIdBackFileName(docResult.iternationalIdBackFileUrl);\n // setInternationalIdBackFileUrl(docResult.iternationalIdBackFileName);\n }\n authCtx.toggleLoader(false);\n };\n\n const handleFileChange = async (\n e: any,\n documentType: DocumentType,\n documentSide: DocumentSide,\n fileUrlSetter: any,\n fileNameSetter: any\n ) => {\n const file = e.target.files[0]; // accesing file\n\n if (!file) return;\n\n var ext = file.name.split(\".\").pop().toLowerCase();\n if (\n ext !== \"pdf\" &&\n ext !== \"docx\" &&\n ext !== \"doc\" &&\n ext !== \"jpg\" &&\n ext !== \"jpeg\" &&\n ext !== \"png\"\n ) {\n setFileErrorText(t(\"docFormatError\"));\n setTimeout(() => {\n setFileErrorText(\"\");\n }, 5000);\n return;\n }\n if (file.size > 2000 * 1024) {\n setFileErrorText(t(\"docSizeError\"));\n setTimeout(() => {\n setFileErrorText(\"\");\n }, 5000);\n return;\n }\n\n fileNameSetter(file.name);\n\n let data = new FormData();\n data.append(\"documentType\", documentType.toString());\n data.append(\"documentSide\", documentSide.toString());\n data.append(\"document\", file);\n const result = await documentservice.uploadDocument(data, props.mId);\n if (result && result.message && result.message.status === \"Success\") {\n fileUrlSetter(result.data.fileUrl);\n }\n };\n\n const confirmDelete = (\n documentType: DocumentType,\n documentSide: DocumentSide\n ) => {\n setSelectedDocumentType(documentType.toString());\n setSelectedDocumentSide(documentSide.toString());\n setOpenDialog(true);\n };\n\n const handleDialogClose = () => {\n setOpenDialog(false);\n };\n\n const deleteFile = async () => {\n const result = await documentservice.removeDocument(\n selectedDocumentType,\n selectedDocumentSide,\n props.mId\n );\n if (result && result.message && result.message.status === \"Success\") {\n switch (selectedDocumentType) {\n case DocumentType.EmiratesID.toString(): {\n switch (selectedDocumentSide) {\n case DocumentSide.Front.toString(): {\n setEmiratesIdFrontFileName(\"\");\n setEmiratesIdFrontFileUrl(\"\");\n break;\n }\n case DocumentSide.Back.toString(): {\n setEmiratesIdBackFileName(\"\");\n setEmiratesIdBackFileUrl(\"\");\n break;\n }\n default: {\n break;\n }\n }\n break;\n }\n case DocumentType.Passport.toString(): {\n switch (selectedDocumentSide) {\n case DocumentSide.Front.toString(): {\n setPassportFrontFileName(\"\");\n setPassportFrontFileUrl(\"\");\n break;\n }\n case DocumentSide.Back.toString(): {\n setPassportBackFileName(\"\");\n setPassportBackFileUrl(\"\");\n break;\n }\n default: {\n break;\n }\n }\n break;\n }\n case DocumentType.Insurance.toString(): {\n switch (selectedDocumentSide) {\n case DocumentSide.Front.toString(): {\n setInsuranceFrontFileName(\"\");\n setInsuranceFrontFileUrl(\"\");\n break;\n }\n case DocumentSide.Back.toString(): {\n setInsuranceBackFileName(\"\");\n setInsuranceBackFileUrl(\"\");\n break;\n }\n default: {\n break;\n }\n }\n break;\n }\n case DocumentType.DrivingLicense.toString(): {\n switch (selectedDocumentSide) {\n case DocumentSide.Front.toString(): {\n setDrivingLicenseFrontFileName(\"\");\n setDrivingLicenseFrontFileUrl(\"\");\n break;\n }\n case DocumentSide.Back.toString(): {\n setDrivingLicenseBackFileName(\"\");\n setDrivingLicenseBackFileUrl(\"\");\n break;\n }\n default: {\n break;\n }\n }\n break;\n }\n case DocumentType.LabourCard.toString(): {\n switch (selectedDocumentSide) {\n case DocumentSide.Front.toString(): {\n setLabourCardFrontFileName(\"\");\n setLabourCardFrontFileUrl(\"\");\n break;\n }\n case DocumentSide.Back.toString(): {\n setLabourCardBackFileName(\"\");\n setLabourCardBackFileUrl(\"\");\n break;\n }\n default: {\n break;\n }\n }\n break;\n }\n // case DocumentType.InternationalId.toString(): {\n // switch (selectedDocumentSide) {\n // case DocumentSide.Front.toString(): {\n // setInternationalIdFrontFileName(\"\");\n // setInternationalIdFrontFileUrl(\"\");\n // break;\n // }\n // case DocumentSide.Back.toString(): {\n // setInternationalIdBackFileName(\"\");\n // setInternationalIdBackFileUrl(\"\");\n // break;\n // }\n // default: {\n // break;\n // }\n // }\n // break;\n // }\n default: {\n break;\n }\n }\n }\n setOpenDialog(false);\n };\n\n return (\n <>\n \n {t(\"confirmation\")} \n \n \n {t(\"confirmDelete\")}\n \n \n \n \n \n \n \n {fileErrorText && (\n
\n {fileErrorText}\n
\n )}\n\n
\n
{t(\"emiratesID\")}
\n
\n {emiratesIdFrontFileName && (\n
\n \n
\n \n
\n \n {\" \"}\n \n getBase64File(\n emiratesIdFrontFileUrl,\n emiratesIdFrontFileName\n )\n }\n >\n {emiratesIdFrontFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.EmiratesID,\n DocumentSide.Front\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!emiratesIdFrontFileName && (\n \n )}\n
\n {emiratesIdBackFileName && (\n
\n \n
\n \n
\n \n {\" \"}\n \n getBase64File(\n emiratesIdBackFileUrl,\n emiratesIdBackFileName\n )\n }\n >\n {emiratesIdBackFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.EmiratesID,\n DocumentSide.Back\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!emiratesIdBackFileName && (\n \n )}\n
\n
\n
\n
\n
{t(\"passport\")}
\n
\n {passportFrontFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n passportFrontFileUrl,\n passportFrontFileName\n )\n }\n >\n {passportFrontFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.Passport,\n DocumentSide.Front\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!passportFrontFileName && (\n \n )}\n
\n {passportBackFileName && (\n
\n \n
\n \n
\n \n {\" \"}\n \n getBase64File(\n passportBackFileUrl,\n passportBackFileName\n )\n }\n >\n {passportBackFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(DocumentType.Passport, DocumentSide.Back);\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!passportBackFileName && (\n \n )}\n
\n
\n
\n
\n
{t(\"insuranceCard\")}
\n
\n {insuranceFrontFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n insuranceFrontFileUrl,\n insuranceFrontFileName\n )\n }\n >\n {insuranceFrontFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.Insurance,\n DocumentSide.Front\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!insuranceFrontFileName && (\n \n )}\n\n
\n {insuranceBackFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n insuranceBackFileUrl,\n insuranceBackFileName\n )\n }\n >\n {insuranceBackFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.Insurance,\n DocumentSide.Back\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!insuranceBackFileName && (\n \n )}\n
\n
\n
\n
\n
{t(\"drivingLicense\")}
\n
\n {drivingLicenseFrontFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n drivingLicenseFrontFileUrl,\n drivingLicenseFrontFileName\n )\n }\n >\n {drivingLicenseFrontFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.DrivingLicense,\n DocumentSide.Front\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!drivingLicenseFrontFileName && (\n \n )}\n
\n {drivingLicenseBackFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n drivingLicenseBackFileUrl,\n drivingLicenseBackFileName\n )\n }\n >\n {drivingLicenseBackFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.DrivingLicense,\n DocumentSide.Back\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!drivingLicenseBackFileName && (\n \n )}\n
\n
\n
\n {/*
\n
{t(\"internationalId\")}
\n
\n\n {internationalIdFrontFileName &&\n
\n \n
\n \n
\n {internationalIdFrontFileName}\n {\n e.preventDefault()\n confirmDelete(DocumentType.InternationalId, DocumentSide.Front)\n }}> highlight_off \n
\n
\n
\n
\n\n }\n {!internationalIdFrontFileName &&\n \n }\n
\n {internationalIdBackFileName &&\n
\n \n
\n \n
\n {internationalIdBackFileName}\n {\n e.preventDefault();\n confirmDelete(DocumentType.InternationalId, DocumentSide.Back)\n }}> highlight_off \n
\n
\n
\n
\n }\n {!internationalIdBackFileName &&\n \n }\n\n
\n
*/}\n
\n
{t(\"labourCard\")}
\n
\n {labourCardFrontFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n labourCardFrontFileUrl,\n labourCardFrontFileName\n )\n }\n >\n {labourCardFrontFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.LabourCard,\n DocumentSide.Front\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!labourCardFrontFileName && (\n \n )}\n
\n {labourCardBackFileName && (\n
\n \n
\n \n
\n \n \n getBase64File(\n labourCardBackFileUrl,\n labourCardBackFileName\n )\n }\n >\n {labourCardBackFileName}\n \n \n {\n e.preventDefault();\n confirmDelete(\n DocumentType.LabourCard,\n DocumentSide.Back\n );\n }}\n >\n highlight_off \n \n
\n
\n
\n
\n )}\n {!labourCardBackFileName && (\n \n )}\n
\n
\n \n );\n};\n\nexport default UploadDocs;\n","import React from \"react\";\nimport FamilyMembersDetails from \"./FamilyMembersDetails\";\nimport Tabs from \"@material-ui/core/Tabs\";\nimport Tab from \"@material-ui/core/Tab\";\nimport UploadDocs from \"./UploadDocs\";\nimport { useTranslation } from \"react-i18next\";\nimport { useEffect } from \"react\";\n\ninterface TabPanelProps {\n children?: React.ReactNode;\n index: number;\n value: number;\n}\n\nfunction TabPanel(props: TabPanelProps) {\n const { children, value, index, ...other } = props;\n\n return (\n