{"version":3,"sources":["webpack:///./src/doctor-app/service/DoctorScheduleService.ts","webpack:///./src/doctor-app/components/GuestLogin.vue?a045","webpack:///./src/doctor-app/components/GuestLogin.vue","webpack:///./src/doctor-app/components/GuestLogin.vue?47ec","webpack:///./src/doctor-app/components/GuestLogin.vue?0470","webpack:///./src/doctor-app/components/TermsConditions.vue?d0ae","webpack:///./src/doctor-app/components/TermsConditions.vue","webpack:///./src/doctor-app/components/TermsConditions.vue?2c80","webpack:///./src/doctor-app/components/TermsConditions.vue?914c","webpack:///./src/doctor-app/service/DoctorAppointmentService.ts","webpack:///./src/helper/Enums.ts","webpack:///./src/doctor-app/service/DoctorService.ts","webpack:///./src/website/services/AuthService.ts"],"names":["GetListByUser2","get","DrScheduleListByUser","GetListByChamber","DrScheduleListByChamber","GetWeeklyScheduleList","DrChamberScheduleWeeklyListById","GetScheduleList","chamberId","startDate","DrChamberScheduleList","toISOString","GetScheduleListById","doctorId","DrChamberScheduleListById","GetScheduleListByDate","DrChamberScheduleListByDate","insert","schedule","post","DrChamberScheduleInsert","JSON","stringify","UpdateSchedule","DrChamberScheduleUpdate","getDelete","id","delete","DrScheduleDelete","GetListByUser","render","_vm","this","_h","$createElement","_c","_self","attrs","model","value","callback","$$v","isShow","expression","slot","_v","staticClass","on","close","contAsGuest","verifyGuest","_e","$event","preventDefault","onSubmit","directives","name","rawName","user","key","domProps","target","composing","$set","errors","has","_s","first","continueAsGuest","onSubmitNext","userReg","class","send","code","password","ReSend","staticRenderFns","submitted","guestVerified","isResend","dict","custom","phone","required","numeric","min","max","guestPhone","fullName","Guestpass","$validator","localize","validate","then","valid","AuthService","login","response","data","isAuthorized","AuthUser","setToken","AlertService","sendMessage","message","catch","error","$store","getters","verifycode","verify","userId","dispatch","setPasswordGuest","res","status","verficationDone","dd","registration","result","securityVerification","verifyGuestInfo","messageType","add","field","msg","userInfo","ReSendCode","component","nativeOn","refreshAptScheduleSubject","refreshAptSchedule","refresh","next","getAptScheduleRefresh","asObservable","appoit","DrAppointmentInsert","insertDr","DrAppointmentInsertAdmin","varify","DrAppointmentVerification","reSendCode","appointmentId","DrAppointmentReSendCode","approvedUnApproved","appointment","DrAppointmentAppUnApp","GetAppoitmentByCurrentUser","DrAppointmentGetListByUser","GetAppoitmentByDrId","DrAppointmentGetListByDrId","GetAppoitmentByDate1","DrAppointmentGetListByAppointmentDate","GetAppoitmentByDate","fromDate","toDate","DrAppointmentGetByAppointmentDate","GetAppoitmentByCurrentDoctor","DrAppointmentGetListByDoctor","DrAwardDelete","cancel","DrAppointmentCancel","daysOfMonth","month","DrAppointmentDaysOfMonth","getChartDate","DrAppointmentChartData","getByAppointmentDate","appointmentDate","getChamberCountByAppointmentDate","DrAppointmentGetChamberCountByAppointmentDate","getChamberWeeklyCountByAppointmentDate","DrAppointmentGetChamberWeeklyCountByAppointmentDate","getAppointmentSearch","patientId","patientName","dob","DrAppointmentSearch","getAppointmentById","DrAppointmentById","Enums","DayOfWeek","refreshProfileCompleteSubject","refreshProfileCompleteStstus","refreshProfileComplete","GetList","DrList","GetListForAdmin","DrListForAdmin","FeatureDrList","GetSearch","distId","specializationId","DrGetSearch","GetSearchForThana","DrGetSearchForThana","GetApproved","DoctorApproved","GetDeactivate","rejectreason","DoctorDeactivate","GetRevoked","DoctorRevoke","getDoctorSearch","type","searchKey","districtId","DrSearch","getAdvanceSearch","gender","thanaId","fees","orderBy","DrAdvanceSearch","GetChambers","DrGetChambersById","GetDetails","DrDetails","GetChamberSchedule","DrGetScheduleChamberId","register","resetPasswordVerify","resetPassword","phoneOrEmail","test","googleLogin","facebookLogin"],"mappings":"gHAAA,4BAIe,QACbA,eADa,WAEX,OAAO,OAAUC,IAAI,OAAQC,uBAE/BC,iBAJa,WAKX,OAAO,OAAUF,IAAI,OAAQG,0BAE/BC,sBAPa,WAQX,OAAO,OAAUJ,IAAI,OAAQK,kCAE/BC,gBAVa,SAWXC,EACAC,GAEA,OAAO,OAAUR,IAAV,UAEH,OAAQS,sBAFL,sBAGSF,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AAUoC,KAExD4D,aAJa,SAIA5D,GACX,OAAO,OAAYvC,KAAK,OAAQ0M,SAAUxM,KAAKC,UAAUoC,KAE3DoD,OAPa,SAONZ,GACL,OAAO,OAAY/E,KAAK,OAAQ2F,OAAQzF,KAAKC,UAAU4E,KAEzD6B,WAVa,SAUF7B,GACT,OAAO,OAAY/E,KAAK,OAAQ2H,WAAYzH,KAAKC,UAAU4E,KAE7D4H,oBAba,SAaOpJ,EAAkBwB,GACpC,OAAO,OAAY/E,KAAZ,UACF,OAAQ2M,oBADN,qBACsCpJ,GAC3CrD,KAAKC,UAAU4E,KAGnBe,iBAnBa,SAmBIvC,EAAkBwB,GACjC,OAAO,OAAY/E,KAAZ,UACF,OAAQ8F,iBADN,qBACmCvC,GACxCrD,KAAKC,UAAU4E,KAGnB6H,cAzBa,SAyBCC,GACZ,OAAO,OAAY/N,IACjB,OAAQ8N,cAAgB,iBAAmBC,IAG/CC,KA9Ba,WA+BX,OAAO,OAAYhO,IAAI,kBAGxBiO,YAlCY,SAkCAhI,GACX,OAAO,OAAY/E,KAAK,OAAQ+M,YAAahI,IAMhDiI,cAzCc,SAyCAjI,GACb,OAAO,OAAY/E,KAAK,OAAQgN,cAAejI","file":"js/chunk-f6d928b2.642398d9.js","sourcesContent":["import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { IDoctorSchedule } from \"../models/DoctorSchedule\"; \r\n\r\nexport default {\r\n GetListByUser2() {\r\n return AuthAxios.get(ApiURIs.DrScheduleListByUser);\r\n },\r\n GetListByChamber() {\r\n return AuthAxios.get(ApiURIs.DrScheduleListByChamber);\r\n },\r\n GetWeeklyScheduleList() {\r\n return AuthAxios.get(ApiURIs.DrChamberScheduleWeeklyListById);\r\n },\r\n GetScheduleList(\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleList\r\n }?chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n GetScheduleListById(\r\n doctorId:number,\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleListById\r\n }?doctorId=${doctorId}&chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n\r\n\r\n GetScheduleListByDate(\r\n chamberId: number,\r\n startDate: Date,\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrChamberScheduleListByDate\r\n }?chamberId=${chamberId}&startDate=${startDate.toISOString()}`\r\n );\r\n },\r\n\r\n insert(schedule: IDoctorSchedule) {\r\n return AuthAxios.post(ApiURIs.DrChamberScheduleInsert, JSON.stringify(schedule));\r\n },\r\n UpdateSchedule(schedule: IDoctorSchedule) {\r\n return AuthAxios.post(ApiURIs.DrChamberScheduleUpdate, JSON.stringify(schedule));\r\n },\r\n getDelete(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrScheduleDelete}/${id}`);\r\n },\r\n GetListByUser(chamberId: number) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrScheduleListByUser}?chamberId=${chamberId}`\r\n );\r\n },\r\n\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"no-close-on-backdrop\":true,\"size\":\"lg\",\"centered\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.isShow),callback:function ($$v) {_vm.isShow=$$v},expression:\"isShow\"}},[_c('template',{slot:\"modal-header\"},[_c('h5',[_vm._v(\"Confirm your login\")]),_c('span',{staticClass:\"ml-auto d-inline-flex text-secondary cursor-pointer\",attrs:{\"to\":\"\"},on:{\"click\":_vm.close}},[_c('i',{staticClass:\"icon-circle-cross fs-24\"})])]),_c('template',{slot:\"default\"},[_c('div',{staticClass:\"row\"},[(!_vm.contAsGuest && !_vm.verifyGuest)?_c('div',{staticClass:\"col-12 col-lg-6 border-right\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Login\")]),_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit($event)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"phone\"}},[_vm._v(\"Phone/Email\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.user.phone),expression:\"user.phone\"}],key:\"old-user-phone\",staticClass:\"form-control phone\",attrs:{\"type\":\"text\",\"name\":\"phone\",\"placeholder\":\"Phone/Email #\"},domProps:{\"value\":(_vm.user.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"phone\", $event.target.value)}}}),(_vm.errors.has('phone'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"phone\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group mb-5\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"\"}},[_vm._v(\"Password\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],key:\"old-user-pass\",staticClass:\"form-control\",attrs:{\"type\":\"password\",\"name\":\"password\",\"placeholder\":\"Password\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}}),(_vm.errors.has('password'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"password\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group\"},[_c('input',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"submit\",\"value\":\"Login Now\"}})])])]):_vm._e(),(!_vm.contAsGuest && !_vm.verifyGuest)?_c('div',{staticClass:\"col-12 col-lg-6 d-flex flex-column align-items-center justify-content-center\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Don't have an account?\")]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){$event.preventDefault();return _vm.continueAsGuest()}}},[_vm._v(\"Continue As Guest\")])])]):_vm._e(),(_vm.contAsGuest && !_vm.verifyGuest)?_c('div',{staticClass:\"col-12\"},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitNext($event)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"fullName\"}},[_vm._v(\"Full Name\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.userReg.firstName),expression:\"userReg.firstName\"}],key:\"guest-user-name\",staticClass:\"form-control\",class:_vm.errors.has('fullName') ? 'is-invalid' : '',attrs:{\"type\":\"text\",\"id\":\"fullName\",\"name\":\"fullName\",\"placeholder\":\"Ex: Hashim Amla 2\"},domProps:{\"value\":(_vm.userReg.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userReg, \"firstName\", $event.target.value)}}}),(_vm.errors.has('fullName'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"fullName\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"guestPhone\"}},[_vm._v(\"Phone\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric|min:11|max:11'),expression:\"'required|numeric|min:11|max:11'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.userReg.phone),expression:\"userReg.phone\"}],key:\"guest-user-phone\",staticClass:\"form-control phone\",class:_vm.errors.has('guestPhone') ? 'is-invalid' : '',attrs:{\"type\":\"text\",\"id\":\"guestPhone\",\"name\":\"guestPhone\",\"placeholder\":\"Ex: 01XXXXXXXXX\"},domProps:{\"value\":(_vm.userReg.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userReg, \"phone\", $event.target.value)}}}),(_vm.errors.has('guestPhone'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"guestPhone\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"submit\"}},[_vm._v(\"Next\")])])])]):_vm._e(),(_vm.verifyGuest)?_c('div',{staticClass:\"col-12\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.send($event)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"verifyCode\"}},[_vm._v(\"Enter the code send to your phone\")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.code),expression:\"code\"}],key:\"verification-code\",staticClass:\"form-control\",class:_vm.errors.has('verifyCode') ? 'is-invalid' : '',attrs:{\"type\":\"text\",\"id\":\"verifyCode\",\"name\":\"verifyCode\",\"placeholder\":\"Enter Code\"},domProps:{\"value\":(_vm.code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}}),(_vm.errors.has('verifyCode'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"verifyCode\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"h6 font-weight-bold mb-2\",attrs:{\"for\":\"Guestpass\"}},[_vm._v(\"Enter a New password for creating New BDDOT account \")]),_c('input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|min:6'),expression:\"'required|min:6'\"},{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],key:\"new-user-pass\",staticClass:\"form-control\",class:_vm.errors.has('Guestpass') ? 'is-invalid' : '',attrs:{\"type\":\"password\",\"id\":\"Guestpass\",\"name\":\"Guestpass\",\"placeholder\":\"xxx\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}}),(_vm.errors.has('Guestpass'))?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" \"+_vm._s(_vm.errors.first(\"Guestpass\"))+\" \")]):_vm._e()]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"submit\"}},[_vm._v(\"Next\")])]),_c('div',{staticClass:\"form-group d-flex align-items-center\"},[_c('label',{staticClass:\"h6 font-weight-bold mr-2 mb-0\",attrs:{\"for\":\"\"}},[_vm._v(\"Problem Receiving the code?\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.ReSend}},[_vm._v(\"Resend Verification Code\")])])])]):_vm._e()])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\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\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\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\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch, Emit } from \"vue-property-decorator\";\r\nimport { LoginViewModel } from \"../../website/models/LoginViewModel\";\r\nimport AuthService from \"../../website/services/AuthService\";\r\nimport AuthUser from \"../../global-config/AuthUser\";\r\nimport { RegViewModel } from \"../../website/models/RegViewModel\";\r\nimport AlertService from \"../../common-app/service/AlertService\";\r\n@Component\r\nexport default class GuestLogin extends Vue {\r\n public isShow: boolean = true;\r\n public submitted: boolean = false;\r\n public user: LoginViewModel = {} as LoginViewModel;\r\n public contAsGuest: boolean = false;\r\n public verifyGuest: boolean = false;\r\n public guestVerified: boolean = false;\r\n public userReg: RegViewModel = {} as RegViewModel;\r\n public code: string = \"\";\r\n public password: string = \"\";\r\n public userInfo: any;\r\n public isResend:boolean=false;\r\n @Emit(\"close\")\r\n close() {\r\n this.isShow = false;\r\n return this.isShow;\r\n }\r\n @Emit(\"guestLoggedIn\")\r\n verficationDone() {\r\n this.isShow = false;\r\n this.guestVerified = true;\r\n //alert(this.$store.getters.userId);\r\n return this.guestVerified;\r\n }\r\n created() {\r\n const dict = {\r\n custom: {\r\n phone: {\r\n required: \"Phone number cannot be empty\",\r\n numeric: \"Phone number can contain only numeric charecters\",\r\n min: \"The phone number must be at least 11 charecters\",\r\n max: \"The phone number cannot be more than 11 charecters\",\r\n },\r\n guestPhone: {\r\n required: \"Phone number cannot be empty\",\r\n numeric: \"Phone number can contain only numeric charecters\",\r\n min: \"The phone number must be at least 11 charecters\",\r\n max: \"The phone number cannot be more than 11 charecters\",\r\n },\r\n fullName: {\r\n required: \"Full name is required.\",\r\n },\r\n password: {\r\n required: \"password is required.\",\r\n },\r\n Guestpass: {\r\n required: \"password is required.\",\r\n min: \"The password must be at least 6 charecters\",\r\n },\r\n },\r\n };\r\n this.$validator.localize(\"en\", dict);\r\n }\r\n onSubmit() {\r\n this.$validator.validate().then((valid) => {\r\n if (valid) {\r\n this.submitted = true;\r\n AuthService.login(this.user)\r\n .then((response) => {\r\n if (response.data.isAuthorized) {\r\n AuthUser.setToken(response.data);\r\n //this.$router.push({ path: \"#\" });\r\n //location.reload();\r\n this.close();\r\n } else {\r\n this.submitted = false;\r\n AlertService.sendMessage(response.data.message);\r\n }\r\n })\r\n .catch((error) => {\r\n this.submitted = false;\r\n });\r\n }\r\n });\r\n }\r\n send() {\r\n this.$validator.validate().then((valid) => {\r\n if (valid) {\r\n this.submitted = true;\r\n if (this.$store.getters.verifycode === this.code) {\r\n AuthService.verify({\r\n userId: this.$store.getters.userId,\r\n code: this.code,\r\n })\r\n .then((response) => {\r\n if (response.data) {\r\n this.$store.dispatch(\"addVerify\", {\r\n userId: this.$store.getters.userId,\r\n verifycode: this.code,\r\n });\r\n AuthUser.setToken(response.data);\r\n // alert(this.$store.getters.userId);\r\n AuthService.setPasswordGuest(this.password, { userId: this.$store.getters.userId }).then((res: any) => {\r\n if (res.data.status) {\r\n //return;\r\n }\r\n });\r\n this.close();\r\n //this.$router.push({ path: \"registration-confirmation\" });\r\n this.verficationDone();\r\n this.guestVerified = true;\r\n } else {\r\n this.submitted = false;\r\n AlertService.sendMessage({ status: false, message: \"The verification code is not valid\" });\r\n }\r\n })\r\n .catch((dd) => {\r\n var sf = \"\";\r\n });\r\n } else {\r\n this.submitted = false;\r\n AlertService.sendMessage({ status: false, message: \"The verification code is not valid\" });\r\n }\r\n }\r\n });\r\n }\r\n onSubmitNext() {\r\n this.userReg.password = \"1234567\";\r\n this.$validator.validate().then((valid) => {\r\n if (valid) {\r\n this.submitted = true;\r\n AuthService.registration(this.userReg)\r\n .then((response) => {\r\n let result = response.data as any;\r\n if (result.status) {\r\n // console.log(result.result.securityVerification.code);\r\n this.$store.dispatch(\"addVerify\", {\r\n userId: result.result.user.id,\r\n verifycode: result.result.securityVerification.code,\r\n });\r\n //this.$router.push({ path: \"registration-verify\" });\r\n this.verifyGuestInfo();\r\n // this.setPassword(result.result.user.id);\r\n } else {\r\n AlertService.sendMessage(result.message);\r\n //this.submitted = false;\r\n if (result.messageType == \"unique\") {\r\n this.$validator.errors.add({\r\n field: \"phone\",\r\n msg: result.message,\r\n });\r\n } else {\r\n AlertService.sendMessage(result.message);\r\n }\r\n }\r\n })\r\n .catch((error) => {\r\n // this.submitted = false;\r\n });\r\n }\r\n });\r\n }\r\n continueAsGuest() {\r\n this.contAsGuest = true;\r\n }\r\n verifyGuestInfo() {\r\n this.verifyGuest = true;\r\n }\r\n\r\n setPassword(userId: number) {\r\n AuthService.setPasswordGuest(this.password, this.userInfo).then((res: any) => {\r\n if (res.data.status) {\r\n //return;\r\n }\r\n });\r\n }\r\n\r\n ReSend() {\r\n this.isResend=true;\r\n AuthService.ReSendCode({\r\n userId: this.$store.getters.userId,\r\n code: this.$store.getters.verifycode,\r\n }).then((response) => {\r\n if (response.data.status) {\r\n this.$store.dispatch(\"addVerify\", {\r\n userId: this.$store.getters.userId,\r\n verifycode: response.data.result,\r\n });\r\n AlertService.sendMessage(response.data);\r\n this.isResend=false;\r\n } else {\r\n AlertService.sendMessage(response.data);\r\n this.isResend=false;\r\n }\r\n });\r\n }\r\n\r\n // verficationDone() {\r\n // this.guestVerified = true;\r\n // alert(this.$store.getters.userId);\r\n // }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuestLogin.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GuestLogin.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GuestLogin.vue?vue&type=template&id=d7d021ee&\"\nimport script from \"./GuestLogin.vue?vue&type=script&lang=ts&\"\nexport * from \"./GuestLogin.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"no-close-on-backdrop\":true,\"size\":\"md\",\"centered\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.isShow),callback:function ($$v) {_vm.isShow=$$v},expression:\"isShow\"}},[_c('template',{slot:\"modal-header\"},[_c('h5',[_vm._v(\"Terms and Conditions\")]),_c('router-link',{staticClass:\"ml-auto text-secondary d-inline-flex\",attrs:{\"to\":\"\"},nativeOn:{\"click\":function($event){return _vm.close($event)}}},[_c('i',{staticClass:\"icon-circle-cross fs-24\"})])],1),_c('template',{slot:\"default\"},[_c('div',[_c('p',{staticClass:\"text-justify fs-15\"},[_vm._v(\" The patient is responsible for payment on or before the appointment. BDDOT does not process payments. BDDOT is just providing a tool or service to create appointments between doctors and patients. After creating an appointment request, the doctor will review it and approve it based on the doctor's decision. Patients or doctors can cancel the approved appointment. It is recommended to cancel the approved appointment at least 12 hours before to give the opportunity to other patients. \")]),_c('p',{staticClass:\"text-justify fs-15\"},[_c('b',[_vm._v(\"Virtual appointment/Video Visit:\")]),_vm._v(\" The patient will receive a WhatsApp, Viber, or meeting link during appointment creation. Patients can only use doctors' contact information for video or virtual appointment purposes. BDDOT is just connecting doctors and patients. BDDOT is not responsible for failed video appointments, low-quality video meetings, or network-related issues during video visits. BDDOT is just providing a service to show the doctor's availability for a virtual visit and connect with patients. \")])]),_c('div',{staticClass:\"d-flex justify-content-between align-items-center mb-1 mt-5\"},[_c('button',{staticClass:\"btn px-5 btn-secondary\",on:{\"click\":function($event){$event.preventDefault();return _vm.close($event)}}},[_vm._v(\"Ok\")])])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\n\n\r\nimport { Vue, Component, Emit } from \"vue-property-decorator\";\r\n@Component\r\nexport default class TermsConditions extends Vue {\r\n public isShow: boolean = true;\r\n @Emit(\"close\")\r\n close() {\r\n this.isShow = false;\r\n return this.isShow;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TermsConditions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TermsConditions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TermsConditions.vue?vue&type=template&id=70ce2e34&\"\nimport script from \"./TermsConditions.vue?vue&type=script&lang=ts&\"\nexport * from \"./TermsConditions.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { IDoctorAppointment } from \"../models/DoctorAppointment\";\r\nimport { Subject } from \"rxjs\";\r\n\r\nconst refreshAptScheduleSubject = new Subject();\r\n\r\nexport default {\r\n refreshAptSchedule: (refresh: boolean) => {\r\n //console.log(\"refreshAptSchedule\", refresh);\r\n\r\n refreshAptScheduleSubject.next(refresh);\r\n },\r\n getAptScheduleRefresh: () => {\r\n return refreshAptScheduleSubject.asObservable();\r\n },\r\n\r\n insert(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentInsert, JSON.stringify(appoit));\r\n },\r\n insertDr(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentInsertAdmin, JSON.stringify(appoit));\r\n },\r\n varify(appoit: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentVerification, JSON.stringify(appoit));\r\n },\r\n reSendCode(appointmentId: number) {\r\n return AuthAxios.get(ApiURIs.DrAppointmentReSendCode + \"/\" + appointmentId);\r\n },\r\n // approvedUnApproved(appId: number, isApp: boolean) {\r\n // return AuthAxios.post(ApiURIs.DrAppointmentAppUnApp, {\r\n // appointmentId: appId,\r\n // isActive: isApp\r\n // });\r\n // },\r\n approvedUnApproved(appointment: IDoctorAppointment) {\r\n return AuthAxios.post(ApiURIs.DrAppointmentAppUnApp, JSON.stringify(appointment));\r\n },\r\n GetAppoitmentByCurrentUser() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByUser);\r\n },\r\n GetAppoitmentByDrId() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByDrId);\r\n },\r\n GetAppoitmentByDate1() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByAppointmentDate);\r\n },\r\n GetAppoitmentByDate(fromDate: Date, toDate: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentGetByAppointmentDate}?fromDate=${fromDate.toISOString()}&toDate=${toDate.toISOString()}`\r\n );\r\n },\r\n GetAppoitmentByCurrentDoctor() {\r\n return AuthAxios.get(ApiURIs.DrAppointmentGetListByDoctor);\r\n },\r\n delete(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrAwardDelete}/${id}`);\r\n },\r\n cancel(id: number) {\r\n return AuthAxios.delete(`${ApiURIs.DrAppointmentCancel}/${id}`);\r\n },\r\n\r\n daysOfMonth(month: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentDaysOfMonth}?month=${month}`);\r\n },\r\n getChartDate(month: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentChartData}?month=${month}`);\r\n },\r\n\r\n getByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentGetByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`);\r\n },\r\n\r\n getChamberCountByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentGetChamberCountByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`);\r\n },\r\n getChamberWeeklyCountByAppointmentDate(appointmentDate: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentGetChamberWeeklyCountByAppointmentDate}?appointmentDate=${appointmentDate.toISOString()}`\r\n );\r\n },\r\n getAppointmentSearch(phone: string, patientId: string, patientName: string, dob: Date) {\r\n return AuthAxios.get(\r\n `${ApiURIs.DrAppointmentSearch}?phone=${phone}&patientId=${patientId}&patientName=${patientName}&dob=${dob.toISOString()}`\r\n );\r\n },\r\n getAppointmentById(id: number) {\r\n return AuthAxios.get(`${ApiURIs.DrAppointmentById}?id=${id}`);\r\n }\r\n};\r\n","export enum Enums {\r\n Admin = 1\r\n}\r\nexport enum DayOfWeek {\r\n Saturday,\r\n Sunday,\r\n Monday,\r\n Tuesday,\r\n wednesday,\r\n Thusday,\r\n Friday,\r\n}\r\n","import { AuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\nimport { Subject } from \"rxjs\";\r\n\r\nconst refreshProfileCompleteSubject = new Subject();\r\nexport default {\r\n refreshProfileCompleteStstus: (refresh: boolean) => {\r\n //console.log(\"refreshAptSchedule\", refresh);\r\n\r\n refreshProfileCompleteSubject.next(refresh);\r\n },\r\n refreshProfileComplete: () => {\r\n return refreshProfileCompleteSubject.asObservable();\r\n },\r\n GetList() {\r\n return AuthAxios.get(ApiURIs.DrList);\r\n },\r\n\r\n GetListForAdmin() {\r\n return AuthAxios.get(ApiURIs.DrListForAdmin);\r\n },\r\n FeatureDrList() {\r\n return AuthAxios.get(ApiURIs.FeatureDrList);\r\n },\r\n GetSearch(distId: number, specializationId: number) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrGetSearch\r\n }?distId=${distId}&specializationId=${specializationId}`\r\n );\r\n },\r\n GetSearchForThana(distId: number, specializationId: number) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrGetSearchForThana\r\n }?distId=${distId}&specializationId=${specializationId}`\r\n );\r\n },\r\n GetApproved(id: number) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DoctorApproved\r\n }?id=${id}`\r\n );\r\n },\r\n GetDeactivate(id: number,rejectreason:string) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DoctorDeactivate\r\n }?id=${id}&reason=${rejectreason}`\r\n );\r\n },\r\n\r\n GetRevoked(id: number,rejectreason:string) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DoctorRevoke\r\n }?id=${id}&reason=${rejectreason}`\r\n );\r\n },\r\n getDoctorSearch(\r\n type: number,\r\n searchKey: string,\r\n districtId: number = 0,\r\n specializationId: number = 0\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrSearch\r\n }?type=${type}&searchKey=${searchKey}&districtId=${districtId}&specializationId=${specializationId}`\r\n );\r\n },\r\n\r\n getAdvanceSearch(\r\n districtId: number ,\r\n specializationId: number ,\r\n gender:number,\r\n thanaId:string,\r\n fees:number,\r\n orderBy:number\r\n ) {\r\n return AuthAxios.get(\r\n `${\r\n ApiURIs.DrAdvanceSearch\r\n }?districtId=${districtId}&specializationId=${specializationId}&gender=${gender}&thanaId=${thanaId}&fees=${fees}&orderBy=${orderBy}`\r\n );\r\n },\r\n\r\n GetChambers(id: number) {\r\n return AuthAxios.get(`${ApiURIs.DrGetChambersById}/${id}`);\r\n },\r\n GetDetails(id: number) {\r\n return AuthAxios.get(`${ApiURIs.DrDetails}/${id}`);\r\n },\r\n GetChamberSchedule(chamberId: number) {\r\n return AuthAxios.get(`${ApiURIs.DrGetScheduleChamberId}/${chamberId}`);\r\n }\r\n};\r\n","import { UnAuthAxios } from \"../../global-config/HttpConfig\";\r\nimport { LoginViewModel } from \"../models/LoginViewModel\";\r\nimport { RegViewModel } from \"../models/RegViewModel\";\r\nimport { ApiURIs } from \"../../global-config/ApiList\";\r\n// Define a type for the Google login response\r\ninterface GoogleLoginResponse {\r\n isAuthorized: boolean;\r\n token?: string; // Optional token if applicable\r\n message?: string; // Optional message for error handling\r\n}\r\nexport default {\r\n login(user: LoginViewModel) {\r\n return UnAuthAxios.post(ApiURIs.login, JSON.stringify(user));\r\n },\r\n registration(user: RegViewModel) {\r\n return UnAuthAxios.post(ApiURIs.register, JSON.stringify(user));\r\n },\r\n verify(data: any) {\r\n return UnAuthAxios.post(ApiURIs.verify, JSON.stringify(data));\r\n },\r\n ReSendCode(data: any) {\r\n return UnAuthAxios.post(ApiURIs.reSendCode, JSON.stringify(data));\r\n },\r\n resetPasswordVerify(password: string, data: any) {\r\n return UnAuthAxios.post(\r\n `${ApiURIs.resetPasswordVerify}?password=${password}`,\r\n JSON.stringify(data)\r\n );\r\n },\r\n setPasswordGuest(password: string, data: any) {\r\n return UnAuthAxios.post(\r\n `${ApiURIs.setPasswordGuest}?password=${password}`,\r\n JSON.stringify(data)\r\n );\r\n },\r\n resetPassword(phoneOrEmail: string) {\r\n return UnAuthAxios.get(\r\n ApiURIs.resetPassword + \"?phoneOrEmail=\" + phoneOrEmail\r\n );\r\n },\r\n test() {\r\n return UnAuthAxios.get(\"api/user/test\");\r\n },\r\n // Google login method\r\n googleLogin(data: { code: string,isLogIn:boolean }) {\r\n return UnAuthAxios.post(ApiURIs.googleLogin, data); \r\n},\r\n\r\n\r\n // Facebook login method\r\n\r\n facebookLogin(data: { accessToken: string; name: string; email: string }) {\r\n return UnAuthAxios.post(ApiURIs.facebookLogin, data);\r\n}\r\n\r\n\r\n};\r\n\r\n\r\n"],"sourceRoot":""}